projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100b889
)
#14155: add a note about \b.
author
Ezio Melotti
<ezio.melotti@gmail.com>
Sun, 29 Apr 2012 01:52:30 +0000
(
04:52
+0300)
committer
Ezio Melotti
<ezio.melotti@gmail.com>
Sun, 29 Apr 2012 01:52:30 +0000
(
04:52
+0300)
Doc/library/re.rst
patch
|
blob
|
history
diff --git
a/Doc/library/re.rst
b/Doc/library/re.rst
index b4e055701102c123aa8b17aa7cbeca970ba23b1b..07868b2a6fcaebcc9690baa0d71a69cc5e203a8e 100644
(file)
--- 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