]> granicus.if.org Git - python/commit
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 2 Feb 2018 21:50:44 +0000 (13:50 -0800)
committerTerry Jan Reedy <tjreedy@udel.edu>
Fri, 2 Feb 2018 21:50:44 +0000 (16:50 -0500)
commitc7de1d7ca62e2b67b90d6c178e63453c03833b75
tree89bface52716b2ce6fb65a92d62c8c2ab1cdfe04
parent29fd9eae432a54c963262e895b46f081f238539a
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265) (#5499)

Modify RE examples in documentation to use raw strings to prevent DeprecationWarning.
Add text to REGEX HOWTO to highlight the deprecation.  Approved by Serhiy Storchaka.
(cherry picked from commit 66771422d0541289d0b1287bc3c28e8b5609f6b4)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Doc/howto/regex.rst
Doc/howto/unicode.rst
Doc/library/re.rst
Misc/NEWS.d/next/Documentation/2018-02-02-07-41-57.bpo-32614.LSqzGw.rst [new file with mode: 0644]