[issue22493] Deprecate the use of flags not at the start of regular expression

Matthew Barnett report at bugs.python.org
Fri Oct 10 01:29:13 CEST 2014


Matthew Barnett added the comment:

I think the simplest and clearest approach from the user's point of view is just to deprecate inline flags that are not at the start of the pattern.

In practice, they almost invariably occur at the start anyway, although I do remember once seeing a pattern in which the inline flag was at the end!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22493>
_______________________________________


More information about the Python-bugs-list mailing list