diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-04-29 04:52:30 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-04-29 04:52:30 +0300 |
commit | 285e51b7e025b3aae7149a4eaa544e937c6bb37e (patch) | |
tree | 03133f3396535214ac0fcf2d8e5fd131d8150f7e /Doc/library/re.rst | |
parent | 100b889ccd742022b4eaeee29f68e75bdcecdc3b (diff) | |
download | cpython-git-285e51b7e025b3aae7149a4eaa544e937c6bb37e.tar.gz |
#14155: add a note about \b.
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r-- | Doc/library/re.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index b4e0557011..07868b2a6f 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 |