]> granicus.if.org Git - python/commit
[3.6] bpo-32614: Modify re examples to use a raw string to prevent wa… …rning ...
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 2 Feb 2018 22:37:30 +0000 (17:37 -0500)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2018 22:37:30 +0000 (17:37 -0500)
commitfbf8e823c02ac1c93a48609cc74e439e19ccb426
treeb99a53c99dae6e0409c290b53e13ad0c80010870
parentf61951b10cc08d3926a3ebaacc154d4149150ef4
 [3.6] bpo-32614: Modify re examples to use a raw string to prevent wa…  …rning (GH-5265) (GH-5500)

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)
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]