Message116276
issue2636-20100913.zip is a new version of the regex module.
I've removed the ZEROWIDTH flag and added the NEW flag, which turns on the new behaviour such as splitting on zero-width matches and positional flags. If the NEW flag isn't turned on then the inline flags are global, like in the re module.
You were right about those bugs in the regex module, Vlastimil. :-(
I've left the permissiveness of the sets in, at least for the moment, or until someone complains about it!
Incidentally:
>>> re.findall(r"[\B]", "aBc")
[]
>>> re.findall(r"[\c]", "aBc")
['c']
so it is a bug in the re module (it's putting a non-word-boundary in a set). |
|
Date |
User |
Action |
Args |
2010-09-13 04:24:49 | mrabarnett | set | recipients:
+ mrabarnett, loewis, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, pitrou, nneonneo, giampaolo.rodola, rsc, timehorse, mark, vbr, ezio.melotti, jaylogan, akitada, moreati, r.david.murray, jhalcrow |
2010-09-13 04:24:48 | mrabarnett | set | messageid: <1284351888.74.0.921369104966.issue2636@psf.upfronthosting.co.za> |
2010-09-13 04:24:46 | mrabarnett | link | issue2636 messages |
2010-09-13 04:24:45 | mrabarnett | create | |
|