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 jacques
Recipients akitada, amaury.forgeotdarc, collinwinter, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jacques, jaylogan, jhalcrow, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, rsc, sjmachin, timehorse, vbr
Date 2010-10-31.06:09:27
SpamBayes Score 0.00010419409
Marked as misclassified No
Message-id <1288505370.09.0.175977604485.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
And another, bit less pathological, testcase.  Sorry for the ugly testcase;  it was much worse before I boiled it down :-)

$ cat test.py 
import re, regex

text = "\nTest\nxyz\nxyz\nEnd"

regexp = '(\nTest(\n+.+?){0,2}?)?\n+End'
print re.findall(regexp, text)
print regex.findall(regexp, text)

$ python test.py
[('\nTest\nxyz\nxyz', '\nxyz')]
[('', '')]
History
Date User Action Args
2010-10-31 06:09:30jacquessetrecipients: + jacques, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, mrabarnett, jaylogan, akitada, moreati, r.david.murray, jhalcrow
2010-10-31 06:09:30jacquessetmessageid: <1288505370.09.0.175977604485.issue2636@psf.upfronthosting.co.za>
2010-10-31 06:09:28jacqueslinkissue2636 messages
2010-10-31 06:09:27jacquescreate