Escaping commas within parens in CSV parsing?

Devan L devlai at gmail.com
Fri Jul 1 05:27:31 CEST 2005


Oops, the above code doesn't quite work. Use this one instead.
re.findall(r'(.+? (?:\(.+?\))?)(?:,|$)',yourtexthere)




More information about the Python-list mailing list