>>> split_input("one two 31235three4four") [['one', 'two', '31235three4four']]
(str_: str)
| 17 | |
| 18 | # assistant functions |
| 19 | def split_input(str_: str) -> list: |
| 20 | """ |
| 21 | >>> split_input("one two 31235three4four") |
| 22 | [['one', 'two', '31235three4four']] |
| 23 | """ |
| 24 | return [char.split() for char in re.split(r"[^ a-z A-Z 0-9 \s]", str_)] |
| 25 | |
| 26 | |
| 27 | def to_simple_case(str_: str) -> str: |
no test coverage detected