changeset: 87563:4ba7a29fe02c user: Ezio Melotti date: Mon Nov 25 23:20:20 2013 +0200 files: Doc/whatsnew/3.4.rst description: #13592, #17087: add whatsnew entry about regex/match object repr improvements. diff -r e39db21df580 -r 4ba7a29fe02c Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Mon Nov 25 13:03:32 2013 -0800 +++ b/Doc/whatsnew/3.4.rst Mon Nov 25 23:20:20 2013 +0200 @@ -693,6 +693,13 @@ 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 --------

AltStyle によって変換されたページ (->オリジナル) /