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, akuchling, amaury.forgeotdarc, collinwinter, doerwalter, ezio.melotti, georg.brandl, gregory.p.smith, jaylogan, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, rsc, timehorse
Date 2009-07-29.00:56:31
SpamBayes Score 2.2634583e-06
Marked as misclassified No
Message-id <1248828992.81.0.93848961956.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
issue2636-20090729.zip contains regex.py, _regex.h, _regex.c which will
work with Python 2.5 as well as Python 2.6, and also 2 builds of
_regex.pyd (for Python 2.5 and Python 2.6 on Windows).

This version supports accessing the capture groups by subscripting the
match object, for example:

>>> m = regex.match("(?<foo>.)(?<bar>.)", "abc")
>>> len(m)
3
>>> m[0]
'ab'
>>> m[1 : 3]
['a', 'b']
>>> m["foo"]
'a'
History
Date User Action Args
2009-07-29 00:56:33mrabarnettsetrecipients: + mrabarnett, loewis, akuchling, doerwalter, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, amaury.forgeotdarc, pitrou, nneonneo, rsc, timehorse, mark, ezio.melotti, jaylogan, akitada, moreati
2009-07-29 00:56:32mrabarnettsetmessageid: <1248828992.81.0.93848961956.issue2636@psf.upfronthosting.co.za>
2009-07-29 00:56:31mrabarnettlinkissue2636 messages
2009-07-29 00:56:31mrabarnettcreate