> but what is the reason for so much capturing groups? I > imagine that coding this and keeping code maintenable is a huge effort.
User input is compiled to regular expressions. The user does not have to worry about those groups. -- http://mail.python.org/mailman/listinfo/python-list