This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mrabarnett
Recipients akitada, akoumjian, alex, amaury.forgeotdarc, belopolsky, brian.curtin, collinwinter, davide.rizzo, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jacques, jaylogan, jhalcrow, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, ronnix, rsc, sjmachin, stiv, timehorse, vbr, zdwiel
Date 2011-07-11.17:32:07
SpamBayes Score 0.0002478547
Marked as misclassified No
Message-id <>
The new regex imlementation is hosted here:

The span of m['a_thing'] is m.span('a_thing'), if that helps.

The named groups are listed on the pattern object, which can be accessed via

<_regex.Pattern object at 0x0161DE30>
{'another_thing': 3, 'a_thing': 1}

so you can use that to create a reverse dict to go from the index to the name or None. (Perhaps the pattern object should have such a .group_name attribute.)
Date User Action Args
2011-07-11 17:32:08mrabarnettsetrecipients: + mrabarnett, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, belopolsky, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, jaylogan, akitada, moreati, alex, r.david.murray, jacques, brian.curtin, zdwiel, jhalcrow, stiv, davide.rizzo, ronnix, akoumjian
2011-07-11 17:32:08mrabarnettsetmessageid: <>
2011-07-11 17:32:08mrabarnettlinkissue2636 messages
2011-07-11 17:32:07mrabarnettcreate