]> granicus.if.org Git - python/commit
[3.6] bpo-30298: Weaken the condition of deprecation warnings for inline modifiers...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 10 May 2017 03:44:02 +0000 (06:44 +0300)
committerGitHub <noreply@github.com>
Wed, 10 May 2017 03:44:02 +0000 (06:44 +0300)
commit418d60a52579b6847776db3e354a8660b26dc752
tree992e3731ce7174893c7d7c42106e224e86e1102f
parent03b8a378dfa46372b96790f82c85e9b72518f1bf
[3.6] bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (GH-1490) (#1525)

Now allowed several subsequential inline modifiers at the start of the
pattern (e.g. '(?i)(?s)...').  In verbose mode whitespaces and comments
now are allowed before and between inline modifiers (e.g.
'(?x) (?i) (?s)...')..
(cherry picked from commit 305ccbe27ea5ba82fd2d8c32ec739f980e524330)
Lib/sre_parse.py
Lib/test/test_re.py
Misc/NEWS