Skip to content

Commit

Permalink
Remove somewhat off-topic sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
akuchling committed Sep 25, 2024
1 parent 39b89c3 commit 900c50b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Doc/howto/regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,6 @@ Two pattern methods return all of the matches for a pattern.

The ``r`` prefix, making the literal a raw string literal, is needed in this
example because ``\d`` is not an escape sequence recognized in Python string literals.
Such unrecognized sequences now produce a
:exc:`SyntaxWarning` and will eventually become a :exc:`SyntaxError`. See
:ref:`the-backslash-plague`.

:meth:`~re.Pattern.findall` has to create the entire list before it can be returned as the
result. The :meth:`~re.Pattern.finditer` method returns a sequence of
Expand Down

0 comments on commit 900c50b

Please sign in to comment.