cpython (3.2): #14155: add a note about \b.
http://hg.python.org/cpython/rev/f4b167309bee changeset: 76601:f4b167309bee branch: 3.2 parent: 76592:a5a0d47e6e78 user: Ezio Melotti <ezio.melotti@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
participants (1)
-
ezio.melotti