Message228959
> 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 |
|
Date |
User |
Action |
Args |
2014-10-10 07:30:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, ezio.melotti, mrabarnett |
2014-10-10 07:30:30 | serhiy.storchaka | set | messageid: <1412926230.55.0.604919482677.issue22493@psf.upfronthosting.co.za> |
2014-10-10 07:30:30 | serhiy.storchaka | link | issue22493 messages |
2014-10-10 07:30:30 | serhiy.storchaka | create | |
|