Message132827
I just re-tested this issue in trunk at changeset 053bc5ca199b and the issue is still exactly reproducible as originally reported. That is, the match to the empty string skips a character of the match:
>>> import re
>>> [m.groups() for m in re.finditer(r'(^z*)|(\w+)', 'abc')]
[('', None), (None, 'bc')] |
|
Date |
User |
Action |
Args |
2011-04-03 01:59:24 | denversc | set | recipients:
+ denversc, niemeyer, jfrechet, rsc, timehorse, mrabarnett |
2011-04-03 01:59:24 | denversc | set | messageid: <1301795964.61.0.508794755362.issue1647489@psf.upfronthosting.co.za> |
2011-04-03 01:59:19 | denversc | link | issue1647489 messages |
2011-04-03 01:59:19 | denversc | create | |
|