Author mrabarnett
Recipients akitada, amaury.forgeotdarc, collinwinter, ezio.melotti, georg.brandl, giampaolo.rodola, gregory.p.smith, jaylogan, jhalcrow, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, rsc, sjmachin, timehorse, vbr
Date 2010-09-13.04:24:45
SpamBayes Score 2.24257e-09
Marked as misclassified No
Message-id <1284351888.74.0.921369104966.issue2636@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2010-09-13 04:24:49mrabarnettsetrecipients: + 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:48mrabarnettsetmessageid: <1284351888.74.0.921369104966.issue2636@psf.upfronthosting.co.za>
2010-09-13 04:24:46mrabarnettlinkissue2636 messages
2010-09-13 04:24:45mrabarnettcreate