[issue2636] Regexp 2.7 (modifications to current re 2.2.2)
Matthew Barnett
report at bugs.python.org
Sun Sep 12 20:42:26 CEST 2010
Matthew Barnett <python at mrabarnett.plus.com> added the comment:
Another flag? Hmm.
How about this instead: if a scoped flag appears at the end of a regex (and would therefore normally have no effect) then it's treated as though it's at the start of the regex. Thus:
foo(?i)
is treated like:
(?i)foo
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________
More information about the Python-bugs-list
mailing list