From: mollison Date: Sun, 21 Apr 2019 22:14:45 +0000 (-0400) Subject: bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) X-Git-Tag: v3.8.0a4~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ebfa840a1c9967da299356733da41b532688988;p=thirdparty%2FPython%2Fcpython.git bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 4ac5dee14071..5ef72b535ce8 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -908,6 +908,7 @@ form. Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter now are errors. + .. versionchanged:: 3.7 Empty matches for the pattern are replaced when adjacent to a previous non-empty match.