Matthew Barnett added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11204>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to