Message120038
| 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:30 | jacques | set | recipients: + 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:30 | jacques | set | messageid: <1288505370.09.0.175977604485.issue2636@psf.upfronthosting.co.za> |
| 2010-10-31 06:09:28 | jacques | link | issue2636 messages |
| 2010-10-31 06:09:27 | jacques | create | |