more than 100 capturing groups in a regex

André Malo auch-ich-m at
Wed Oct 26 10:26:45 CEST 2005

* "Iain King" <iainking at> wrote:

> Ah, doh!  Of course.  Oh well then...  still, doesn't python's RE
> engine support named groups?  That would be cumbersome, but would allow
> you to go above 100...

The named groups are built on top of numbered captures. They are mapped by the
parser and the match instance's group method. The regex matcher itself never
sees these names.


More information about the Python-list mailing list