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 py.user
Recipients ezio.melotti, mrabarnett, py.user
Date 2012-03-12.05:28:22
SpamBayes Score 0.037223477
Marked as misclassified No
Message-id <1331530103.22.0.0779581075646.issue14260@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import re
>>> p = re.compile(r'abc(?P<n>def)')
>>> p.sub(r'\g<n>', 'abcdef123abcdef')
'def123def'
>>> p.groupindex['n'] = 2
>>> p.sub(r'\g<n>', 'abcdef123abcdef')
'def123def'
>>> p.groupindex
{'n': 2}
>>>
History
Date User Action Args
2012-03-12 05:28:23py.usersetrecipients: + py.user, ezio.melotti, mrabarnett
2012-03-12 05:28:23py.usersetmessageid: <1331530103.22.0.0779581075646.issue14260@psf.upfronthosting.co.za>
2012-03-12 05:28:22py.userlinkissue14260 messages
2012-03-12 05:28:22py.usercreate