]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
update docs to reflect that \b considers underscore to be part of a word.
authorSkip Montanaro <skip@pobox.com>
Fri, 6 Sep 2002 14:38:23 +0000 (14:38 +0000)
committerSkip Montanaro <skip@pobox.com>
Fri, 6 Sep 2002 14:38:23 +0000 (14:38 +0000)
Doc/lib/libre.tex

index bff13fa4140ca09afdb557ba4babee9bd73ffde9..211b04f087e846b8742e88c315187fcd2297babc 100644 (file)
@@ -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.