diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-04-29 01:53:20 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-04-29 01:53:20 (GMT) |
commit | e240947cc08b9655fec0787231ef27b01a1742d1 (patch) | |
tree | 21210520f949606dab60e89ea98853bc6896a628 /Doc/library/re.rst | |
parent | fe98e2fc8391607fc1cae235a49bbafc65a822f0 (diff) | |
parent | 285e51b7e025b3aae7149a4eaa544e937c6bb37e (diff) | |
download | cpython-e240947cc08b9655fec0787231ef27b01a1742d1.zip cpython-e240947cc08b9655fec0787231ef27b01a1742d1.tar.gz cpython-e240947cc08b9655fec0787231ef27b01a1742d1.tar.bz2 |
#14155: merge note about \b from 3.2.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r-- | Doc/library/re.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 79b8d3b..72bc46a 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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 |