summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libre.tex
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-09-06 14:38:23 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-09-06 14:38:23 (GMT)
commit2c519981fb7b0992afe8168bb7781e6ed8d49531 (patch)
tree505d3e3f1e3c069b1b62f6bccdeec5b71313f732 /Doc/lib/libre.tex
parente99e2f53e7365d82229e7e033e6a9219b6075912 (diff)
downloadcpython-2c519981fb7b0992afe8168bb7781e6ed8d49531.zip
cpython-2c519981fb7b0992afe8168bb7781e6ed8d49531.tar.gz
cpython-2c519981fb7b0992afe8168bb7781e6ed8d49531.tar.bz2
update docs to reflect that \b considers underscore to be part of a word.
Diffstat (limited to 'Doc/lib/libre.tex')
-rw-r--r--Doc/lib/libre.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index bff13fa..211b04f 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -322,8 +322,8 @@ escapes are treated as characters.
\item[\code{\e b}] Matches the empty string, but only at the
beginning or end of a word. A word is defined as a sequence of
-alphanumeric characters, so the end of a word is indicated by
-whitespace or a non-alphanumeric character. Inside a character range,
+alphanumeric or underscore characters , so the end of a word is indicated by
+whitespace or a non-alphanumeric, non-underscore character. Inside a character range,
\regexp{\e b} represents the backspace character, for compatibility with
Python's string literals.