more than 100 capturing groups in a regex
Fredrik Lundh
fredrik at pythonware.com
Wed Oct 26 02:43:54 EDT 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.
</F>
More information about the Python-list
mailing list