Skip to content

Commit 23c2934

Browse files
Typo fix
Co-authored-by: Guido van Rossum <[email protected]>
1 parent bb9497d commit 23c2934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/howto/regex.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ The syntax for a named group is one of the Python-specific extensions:
989989
``(?P<name>...)``. Named groups behave exactly like capturing groups, and
990990
additionally associate *name* with the group so that *name* can be used to
991991
refer to the group in other contexts. Names should look like a Python
992-
identifier andonly contain letters, digits and underscores. The :ref:`match
992+
identifier and only contain letters, digits and underscores. The :ref:`match
993993
object <match-objects>` methods that deal with capturing groups all accept
994994
either integers that refer to the group by number or strings that contain the
995995
desired group's name. Named groups are still given numbers, so you can

0 commit comments

Comments
 (0)