]> granicus.if.org Git - python/commitdiff
#14155: add a note about \b.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 29 Apr 2012 01:46:34 +0000 (04:46 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 29 Apr 2012 01:46:34 +0000 (04:46 +0300)
Doc/library/re.rst

index 02251cf9d53e7df3d87e12aa9fd5bfc7efd7cefa..b82b39797e2806af39e3a0ef1bfdaab5eb8fd7b0 100644 (file)
@@ -398,6 +398,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