Skip to content

Commit

Permalink
Doc: Add some more backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
adorilson committed Sep 25, 2024
1 parent 6b357af commit 8f7356d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/re.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8f7356d

Please sign in to comment.