Message176812
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. |
|
Date |
User |
Action |
Args |
2012-12-02 22:28:55 | mrabarnett | set | recipients:
+ mrabarnett, sjmachin, pitrou, ezio.melotti |
2012-12-02 22:28:55 | mrabarnett | set | messageid: <1354487335.89.0.0911759006091.issue11204@psf.upfronthosting.co.za> |
2012-12-02 22:28:55 | mrabarnett | link | issue11204 messages |
2012-12-02 22:28:55 | mrabarnett | create | |
|