mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#14155: add a note about \b.
This commit is contained in:
parent
100b889ccd
commit
285e51b7e0
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@ accepted by the regular expression parser::
|
|||
\r \t \v \x
|
||||
\\
|
||||
|
||||
(Note that ``\b`` is used to represent word boundaries, and means "backspace"
|
||||
only inside character classes.)
|
||||
|
||||
Octal escapes are included in a limited form. If the first digit is a 0, or if
|
||||
there are three octal digits, it is considered an octal escape. Otherwise, it is
|
||||
a group reference. As for string literals, octal escapes are always at most
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue