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 mrabarnett
Recipients jfrechet, mrabarnett, niemeyer, rsc, timehorse
Date 2008-09-25.13:55:37
SpamBayes Score 0.000496143
Marked as misclassified No
Message-id <1222351017.54.0.853240864364.issue1647489@psf.upfronthosting.co.za>
In-reply-to
Content
I have to report that the fix appears to be successful:

>>> print [m.groups() for m in re.finditer(r'(^z*)|(\w+)', 'abc')]
[('', None), (None, 'abc')]
>>> print re.findall(r"(^z*)|(\w+)", "abc")
[('', ''), ('', 'abc')]
>>> print [m.groups() for m in re.finditer(r"(^z*)|(q*)|(\w+)", "abc")]
[('', None, None), (None, None, 'abc'), (None, '', None)]
>>> print re.findall(r"(^z*)|(q*)|(\w+)", "abc")
[('', '', ''), ('', '', 'abc'), ('', '', '')]

The patch is regex_2.6rc2+7.diff.
History
Date User Action Args
2008-09-25 13:56:57mrabarnettsetrecipients: + mrabarnett, niemeyer, jfrechet, rsc, timehorse
2008-09-25 13:56:57mrabarnettsetmessageid: <1222351017.54.0.853240864364.issue1647489@psf.upfronthosting.co.za>
2008-09-25 13:55:38mrabarnettlinkissue1647489 messages
2008-09-25 13:55:38mrabarnettcreate