Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Guido van Rossum <[email protected]>
  • Loading branch information
akuchling and gvanrossum authored Sep 25, 2024
1 parent bb9497d commit 23c2934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ The syntax for a named group is one of the Python-specific extensions:
``(?P<name>...)``. Named groups behave exactly like capturing groups, and
additionally associate *name* with the group so that *name* can be used to
refer to the group in other contexts. Names should look like a Python
identifier andonly contain letters, digits and underscores. The :ref:`match
identifier and only contain letters, digits and underscores. The :ref:`match
object <match-objects>` methods that deal with capturing groups all accept
either integers that refer to the group by number or strings that contain the
desired group's name. Named groups are still given numbers, so you can
Expand Down

0 comments on commit 23c2934

Please sign in to comment.