]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#13592, #17087: add whatsnew entry about regex/match object repr improvements.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 25 Nov 2013 21:20:20 +0000 (23:20 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 25 Nov 2013 21:20:20 +0000 (23:20 +0200)
Doc/whatsnew/3.4.rst

index 9882fdde5455548121a10b82fbe808459f8e128e..301ab8f1653be93b0e4a82ba3c3651c95f4ac8d4 100644 (file)
@@ -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
 --------