Skip to content

Commit 2070e83

Browse files
committed
Fix example in backreference description. Found by Alexander Heger on docs@.
1 parent a0b7923 commit 2070e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/re.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ the second character. For example, ``\$`` matches the character ``'$'``.
327327
``\number``
328328
Matches the contents of the group of the same number. Groups are numbered
329329
starting from 1. For example, ``(.+) \1`` matches ``'the the'`` or ``'55 55'``,
330-
but not ``'the end'`` (note the space after the group). This special sequence
330+
but not ``'thethe'`` (note the space after the group). This special sequence
331331
can only be used to match one of the first 99 groups. If the first digit of
332332
*number* is 0, or *number* is 3 octal digits long, it will not be interpreted as
333333
a group match, but as the character with octal value *number*. Inside the

0 commit comments

Comments
 (0)