summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-09 21:57:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-09 21:57:55 (GMT)
commitbe9a4e5c855188cf146962483e6de942bf154d95 (patch)
treeeb157b3bf22214072f27e64244e0b7439c08e2a3 /Doc/whatsnew
parentee73a657455a908102379d3c9bc254676418e10c (diff)
downloadcpython-be9a4e5c855188cf146962483e6de942bf154d95.zip
cpython-be9a4e5c855188cf146962483e6de942bf154d95.tar.gz
cpython-be9a4e5c855188cf146962483e6de942bf154d95.tar.bz2
Issue #433028: Added support of modifier spans in regular expressions.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.6.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index f15bf4d..8a57110 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -645,6 +645,15 @@ Protocol version 4 already supports this case. (Contributed by Serhiy
Storchaka in :issue:`24164`.)
+re
+--
+
+Added support of modifier spans in regular expressions. Examples:
+``'(?i:p)ython'`` matches ``'python'`` and ``'Python'``, but not ``'PYTHON'``;
+``'(?i)g(?-i:v)r'`` matches ``'GvR'`` and ``'gvr'``, but not ``'GVR'``.
+(Contributed by Serhiy Storchaka in :issue:`433028`.)
+
+
readline
--------