summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-10 03:05:20 (GMT)
committerGitHub <noreply@github.com>2017-05-10 03:05:20 (GMT)
commit305ccbe27ea5ba82fd2d8c32ec739f980e524330 (patch)
treeb2a5769d41b5de66dff278d57b2caa57b18d4f63 /Misc
parent211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f (diff)
downloadcpython-305ccbe27ea5ba82fd2d8c32ec739f980e524330.zip
cpython-305ccbe27ea5ba82fd2d8c32ec739f980e524330.tar.gz
cpython-305ccbe27ea5ba82fd2d8c32ec739f980e524330.tar.bz2
bpo-30298: Weaken the condition of deprecation warnings for inline modifiers. (#1490)
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)...').
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7a79521..997a034 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -320,6 +320,12 @@ Extension Modules
Library
-------
+- bpo-30298: Weaken the condition of deprecation warnings for inline modifiers.
+ 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)...'``).
+
- bpo-30285: Optimized case-insensitive matching and searching of regular
expressions.