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

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Sat, 07 Sep 2002 11:48:16 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv22413

Modified Files:
	libre.tex 
Log Message:
tightened up the definition of \b and \B some more based upon discussion
after the last checkin.


Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** libre.tex	6 Sep 2002 14:38:23 -0000	1.87
--- libre.tex	7 Sep 2002 18:48:14 -0000	1.88
***************
*** 323,333 ****
  \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.
  
! \item[\code{\e B}] Matches the empty string, but only when it is
! \emph{not} at the beginning or end of a word.
  
  \item[\code{\e d}]Matches any decimal digit; this is
--- 323,337 ----
  \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.  Note that 
! {}\code{\e b} is defined as the boundary between \code{\e w} and \code{\e
! W}, so the precise set of characters deemed to be alphanumeric depends on the
! values of the \code{UNICODE} and \code{LOCALE} flags.  Inside a character
! range, \regexp{\e b} represents the backspace character, for compatibility
! with Python's string literals.
  
! \item[\code{\e B}] Matches the empty string, but only when it is \emph{not}
! at the beginning or end of a word.  This is just the opposite of {}\code{\e
! b}, so is also subject to the settings of \code{LOCALE} and \code{UNICODE}.
  
  \item[\code{\e d}]Matches any decimal digit; this is