From: Georg Brandl Date: Sun, 6 Oct 2013 10:58:20 +0000 (+0200) Subject: Fix example in backreference description. Found by Alexander Heger on docs@. X-Git-Tag: v2.7.6rc1~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=980db0a0980712011d1c5267931b8974a3d16cfc;p=python Fix example in backreference description. Found by Alexander Heger on docs@. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 53d18903f1..91afbd497c 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -322,7 +322,7 @@ the second character. For example, ``\$`` matches the character ``'$'``. ``\number`` Matches the contents of the group of the same number. Groups are numbered starting from 1. For example, ``(.+) \1`` matches ``'the the'`` or ``'55 55'``, - but not ``'the end'`` (note the space after the group). This special sequence + but not ``'thethe'`` (note the space after the group). This special sequence can only be used to match one of the first 99 groups. If the first digit of *number* is 0, or *number* is 3 octal digits long, it will not be interpreted as a group match, but as the character with octal value *number*. Inside the