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 mrabarnett
Recipients ezio.melotti, mrabarnett, pitrou, sjmachin
Date 2012-12-02.22:28:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354487335.89.0.0911759006091.issue11204@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting.

In my regex module (http://pypi.python.org/pypi/regex) I have:

bool(regex.match(pat, "bb", regex.VERBOSE)) # True
bool(regex.match(pat, "b{1,3}", regex.VERBOSE)) # False

because I thought that when the VERBOSE flag is turned on it should ignore whitespace except when it's inside a character class, so "b{1, 3}" would be treated as "b{1,3}".

Apparently re has another exception.
History
Date User Action Args
2012-12-02 22:28:55mrabarnettsetrecipients: + mrabarnett, sjmachin, pitrou, ezio.melotti
2012-12-02 22:28:55mrabarnettsetmessageid: <1354487335.89.0.0911759006091.issue11204@psf.upfronthosting.co.za>
2012-12-02 22:28:55mrabarnettlinkissue11204 messages
2012-12-02 22:28:55mrabarnettcreate