[Python-checkins] python/dist/src/Doc/lib libre.tex,1.86,1.87

Sjoerd Mullender sjoerd@acm.org
Fri, 06 Sep 2002 17:03:54 +0200


Didn't /F say that \b represent a boundary between \w and \W?

\w can match more than just alphanumeric characters and underscore, so
the documentation is still not correct.  I guess the \b documentation
should just refer to the \w/\W documentation.

On Fri, Sep 6 2002 montanaro@users.sourceforge.net wrote:

> Update of /cvsroot/python/python/dist/src/Doc/lib
> In directory usw-pr-cvs1:/tmp/cvs-serv11663
> 
> Modified Files:
> 	libre.tex 
> Log Message:
> update docs to reflect that \b considers underscore to be part of a word.
> 
> 
> Index: libre.tex
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
> retrieving revision 1.86
> retrieving revision 1.87
> diff -C2 -d -r1.86 -r1.87
> *** libre.tex	20 Aug 2002 13:57:47 -0000	1.86
> --- libre.tex	6 Sep 2002 14:38:23 -0000	1.87
> ***************
> *** 323,328 ****
>   \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,
>   \regexp{\e b} represents the backspace character, for compatibility with
>   Python's string literals.
> --- 323,328 ----
>   \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 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.
> 
> 
> 
> _______________________________________________
> Python-checkins mailing list
> Python-checkins@python.org
> http://mail.python.org/mailman/listinfo/python-checkins
> 

-- Sjoerd Mullender <sjoerd@acm.org>