cpython (merge 3.2 -> default): #14155: merge note about \b from 3.2.
http://hg.python.org/cpython/rev/b1f29667a3c7 changeset: 76602:b1f29667a3c7 parent: 76599:bd195749c0a2 parent: 76601:f4b167309bee user: Ezio Melotti <ezio.melotti@gmail.com> date: Sun Apr 29 04:53:20 2012 +0300 summary: #14155: merge note about \b from 3.2. 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
participants (1)
-
ezio.melotti