From 71b88827f6ad368eafa17983bd979175d24da888 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 21 Apr 2019 15:20:45 -0700 Subject: [PATCH] bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) (cherry picked from commit 5ebfa840a1c9967da299356733da41b532688988) Co-authored-by: mollison --- Doc/library/re.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index dc3f428b8a19..2e6c7f715d20 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -902,6 +902,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. -- 2.47.3