summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-11-25 21:20:20 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-11-25 21:20:20 (GMT)
commitdd7e291dc395116643916a09362d9f4a5fd4f54a (patch)
tree75758dfacfb6b4eb85b380edc9f6822e66a3c303 /Doc
parentf94a041f8fb8ed2a9ac873b60e024375d1ffbcab (diff)
downloadcpython-dd7e291dc395116643916a09362d9f4a5fd4f54a.zip
cpython-dd7e291dc395116643916a09362d9f4a5fd4f54a.tar.gz
cpython-dd7e291dc395116643916a09362d9f4a5fd4f54a.tar.bz2
#13592, #17087: add whatsnew entry about regex/match object repr improvements.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.4.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 9882fdd..301ab8f 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -693,6 +693,13 @@ Added :func:`re.fullmatch` function and :meth:`regex.fullmatch` method,
which anchor the pattern at both ends of the string to match.
(Contributed by Matthew Barnett in :issue:`16203`.)
+The repr of :ref:`regex objects <re-objects>` now includes the pattern
+and the flags; the repr of :ref:`match objects <match-objects>` now
+includes the start, end, and the part of the string that matched.
+
+(Contributed by Serhiy Storchaka in :issue:`13592` and :issue:`17087`.)
+
+
resource
--------