Message132827
| Author |
denversc |
| Recipients |
denversc, jfrechet, mrabarnett, niemeyer, rsc, timehorse |
| Date |
2011年04月03日.01:59:18 |
| SpamBayes Score |
3.725027e-07 |
| Marked as misclassified |
No |
| Message-id |
<1301795964.61.0.508794755362.issue1647489@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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')] |
|