more than 100 capturing groups in a regex
fredrik at pythonware.com
Wed Oct 26 08:43:54 CEST 2005
Iain King wrote:
> Anyway, back to the OP: in this specific case, the cap of 100 groups in
> a RE seems random to me, so I think the rule applies.
perhaps in the "indistinguishable from magic" sense.
if you want to know why 100 is a reasonable and non-random choice, I
suggest checking the RE documentation for "99 groups" and the special
meaning of group 0.
More information about the Python-list