Re: using re.split function

2015-11-21 Thread MRAB
On 2015-11-21 18:49, david burstein wrote: im pretty new in python and i didnt get how to use the re.split function. for example if i have a string and i want to split it by two conditions: first one splitting when " [ " appears second one when "]" appears re.split(r" \[ |\]", string) You need

using re.split function

2015-11-21 Thread david burstein
im pretty new in python and i didnt get how to use the re.split function. for example if i have a string and i want to split it by two conditions: first one splitting when " [ " appears second one when "]" appears -- https://mail.python.org/mailman/listinfo/python-list