]> granicus.if.org Git - python/commit
bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Oct 2019 21:07:46 +0000 (14:07 -0700)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2019 21:07:46 +0000 (14:07 -0700)
commitb731fc521cf78e53268e35777d836ca80e7ab305
tree67bab7d9ed7d33fd371dcdf679ee1534d2771b27
parent435b2eeb7bc5b8ec264e900b38bcb3d76552d777
bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442)

Prior to 3.7, re.escape escaped many characters that don't have
special meaning in Python, but that use to require escaping in other
tools and languages. This commit aims to make it clear which characters
were, but are no longer escaped.
(cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c)

Co-authored-by: Ricardo Bánffy <rbanffy@gmail.com>
Doc/library/re.rst
Doc/tools/susp-ignored.csv
Misc/NEWS.d/next/Documentation/2019-09-27-23-37-41.bpo-38294.go_jFf.rst [new file with mode: 0644]