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 serhiy.storchaka
Recipients ezio.melotti, mrabarnett, pitrou, serhiy.storchaka
Date 2014-10-10.07:30:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412926230.55.0.604919482677.issue22493@psf.upfronthosting.co.za>
In-reply-to
Content
> That sounds a bit random. It wouldn't totally address the discrepancy with regex, would it?

No, it will not totally address the discrepancy with regex, but at least it will allow as to change the behavior of flags in subpatterns. And we always can convert a pattern to a subpattern (surround by "(?:" and ")").

For now Python re module is only one regular expression implementation in which flags in the middle of the expression affect all expression. [1]

[1] http://www.regular-expressions.info/modifiers.html
History
Date User Action Args
2014-10-10 07:30:30serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, ezio.melotti, mrabarnett
2014-10-10 07:30:30serhiy.storchakasetmessageid: <1412926230.55.0.604919482677.issue22493@psf.upfronthosting.co.za>
2014-10-10 07:30:30serhiy.storchakalinkissue22493 messages
2014-10-10 07:30:30serhiy.storchakacreate