Message155442
| 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:23 | py.user | set | recipients: + py.user, ezio.melotti, mrabarnett |
| 2012-03-12 05:28:23 | py.user | set | messageid: <1331530103.22.0.0779581075646.issue14260@psf.upfronthosting.co.za> |
| 2012-03-12 05:28:22 | py.user | link | issue14260 messages |
| 2012-03-12 05:28:22 | py.user | create | |