homepage

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 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')]
History
Date User Action Args
2011年04月03日 01:59:24denverscsetrecipients: + denversc, niemeyer, jfrechet, rsc, timehorse, mrabarnett
2011年04月03日 01:59:24denverscsetmessageid: <1301795964.61.0.508794755362.issue1647489@psf.upfronthosting.co.za>
2011年04月03日 01:59:19denversclinkissue1647489 messages
2011年04月03日 01:59:19denversccreate

AltStyle によって変換されたページ (->オリジナル) /