Sept. 6, 2002
6:47 a.m.
Christopher A. Craig wrote:
From the Library Reference (2.2.1):
\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, \b represents the backspace character, for compatibility with Python's string literals.
as you suspected, the documentation is flawed: \b is defined in terms of \w and \W. </F>