From dd7e291dc395116643916a09362d9f4a5fd4f54a Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 25 Nov 2013 23:20:20 +0200 Subject: [PATCH] #13592, #17087: add whatsnew entry about regex/match object repr improvements. --- Doc/whatsnew/3.4.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 9882fdde545..301ab8f1653 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 ` now includes the pattern +and the flags; the repr of :ref:`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 --------