From: Ezio Melotti Date: Sun, 29 Apr 2012 01:52:30 +0000 (+0300) Subject: #14155: add a note about \b. X-Git-Tag: v3.3.0a3~50^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=285e51b7e025b3aae7149a4eaa544e937c6bb37e;p=thirdparty%2FPython%2Fcpython.git #14155: add a note about \b. --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index b4e055701102..07868b2a6fca 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