zjfz-2019-s439462/regexp/Task304.py
2020-01-23 12:38:31 +01:00

6 lines
85 B
Python

import re
def split_list(string):
return re.split(",\\s+|\\s+,\\s*|:", string)