regex question

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Wed Feb 13 08:34:33 EST 2008


mathieu, stop writing complex REs like obfuscated toys, use the
re.VERBOSE flag and split that RE into several commented and
*indented* lines (indented just like Python code), the indentation
level has to be used to denote nesting. With that you may be able to
solve the problem by yourself. If not, you can offer us a much more
readable thing to fix.

Bye,
bearophile



More information about the Python-list mailing list