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
f8ece8d777
commit
48d886b725
1 changed files with 3 additions and 0 deletions
|
@ -398,6 +398,9 @@ accepted by the regular expression parser::
|
||||||
\r \t \v \x
|
\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
|
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
|
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
|
a group reference. As for string literals, octal escapes are always at most
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue