[Python-Dev] a feature i'd like to see in python #2: indexing of match objects

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Dec 4 02:11:07 CET 2006


Steve Holden wrote:
> So the subgroups are numbered starting from 
> 1 and subgroup 0 is a special case which returns the whole match.

But the subgroups can be nested too, so it's
not really as special as all that.

--
Greg


More information about the Python-Dev mailing list