> To add to what scott said, two advices: > 1. Use Kodos, it's a RE debugger and an extremely fine tool to generate > your regular expressions.
Ok, just found this. Will be helpful. > 2. Read the module's documentation. Several time. In your case read the > "negative lookbehind assertion" part "(?<! ... )" several time, until > you understand how it may be of use to you. Quite a teacher. I'll read it several times... Thanks anyway. -- http://mail.python.org/mailman/listinfo/python-list