6 lines
85 B
Python
6 lines
85 B
Python
import re
|
|
|
|
|
|
def split_list(string):
|
|
return re.split(",\\s+|\\s+,\\s*|:", string)
|