[Python-checkins] cpython (3.2): #14155: add a note about \b.
ezio.melotti
python-checkins at python.org
Sun Apr 29 03:53:29 CEST 2012
http://hg.python.org/cpython/rev/f4b167309bee
changeset: 76601:f4b167309bee
branch: 3.2
parent: 76592:a5a0d47e6e78
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sun Apr 29 04:52:30 2012 +0300
summary:
#14155: add a note about \b.
files:
Doc/library/re.rst | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -417,6 +417,9 @@
\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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list