Commit 95ae3dda authored by Skip Montanaro's avatar Skip Montanaro

update docs to reflect that \b considers underscore to be part of a word.

parent a89fdcac
...@@ -322,8 +322,8 @@ escapes are treated as characters. ...@@ -322,8 +322,8 @@ escapes are treated as characters.
\item[\code{\e b}] Matches the empty string, but only at the \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 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 alphanumeric or underscore characters , so the end of a word is indicated by
whitespace or a non-alphanumeric character. Inside a character range, whitespace or a non-alphanumeric, non-underscore character. Inside a character range,
\regexp{\e b} represents the backspace character, for compatibility with \regexp{\e b} represents the backspace character, for compatibility with
Python's string literals. Python's string literals.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment