mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
merge with 3.3
This commit is contained in:
commit
f70acb7874
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ the second character. For example, ``\$`` matches the character ``'$'``.
|
||||||
``\number``
|
``\number``
|
||||||
Matches the contents of the group of the same number. Groups are numbered
|
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'``,
|
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
|
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
|
*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
|
a group match, but as the character with octal value *number*. Inside the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue