Message119958
And another (with issue2636-20101030.zip):
$ cat test.py
import re, regex
text = "XYABCYPPQ\nQ DEF"
regexp = 'X(Y[^Y]+?){1,2}(\ |Q)+DEF'
print re.findall(regexp, text)
print regex.findall(regexp, text)
$ python test.py
[('YPPQ\n', ' ')]
[] |
|
Date |
User |
Action |
Args |
2010-10-30 04:40:24 | 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-30 04:40:21 | jacques | set | messageid: <1288413621.76.0.149968163747.issue2636@psf.upfronthosting.co.za> |
2010-10-30 04:40:19 | jacques | link | issue2636 messages |
2010-10-30 04:40:18 | jacques | create | |
|