From 8f7356defb602811ea518c762ca59785404d3361 Mon Sep 17 00:00:00 2001 From: Adorilson Bezerra Date: Wed, 25 Sep 2024 10:44:50 +0100 Subject: [PATCH] Doc: Add some more backticks --- Doc/library/re.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 583bba47a3fb32..7ed4fb0796f33c 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -121,8 +121,8 @@ The special characters are: string, and in :const:`MULTILINE` mode also matches before a newline. ``foo`` matches both ``'foo'`` and ``'foobar'``, while the regular expression ``foo$`` matches - only 'foo'. More interestingly, searching for ``foo.$`` in ``'foo1\nfoo2\n'`` - matches 'foo2' normally, but ``'foo1'`` in :const:`MULTILINE` mode; searching + only ``'foo'``. More interestingly, searching for ``foo.$`` in ``'foo1\nfoo2\n'`` + matches ``'foo2'`` normally, but ``'foo1'`` in :const:`MULTILINE` mode; searching for a single ``$`` in ``'foo\n'`` will find two (empty) matches: one just before the newline, and one at the end of the string.