Get named groups from a regular expression

Chris Angelico rosuav at
Tue Jul 1 17:58:39 CEST 2014

On Wed, Jul 2, 2014 at 1:29 AM, Peter Otten <__peter__ at> wrote:
> Easy, just write a regular expression to parse regular expressions ;)

Hmm, is that even possible? AIUI you can't make a regex that correctly
parses nested tokens, and named groups can definitely be nested.


More information about the Python-list mailing list