[Python-checkins] python/dist/src/Doc/lib libre.tex, 1.101.8.4, 1.101.8.5

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Sep 10 12:45:57 EDT 2003


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv32304
Modified Files:
 Tag: release23-maint
	libre.tex 
Log Message:
SF bug #803842: Wrong description of regexp concatenation
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.101.8.4
retrieving revision 1.101.8.5
diff -C2 -d -r1.101.8.4 -r1.101.8.5
*** libre.tex	10 Sep 2003 03:55:26 -0000	1.101.8.4
--- libre.tex	10 Sep 2003 18:45:55 -0000	1.101.8.5
***************
*** 52,59 ****
 Regular expressions can be concatenated to form new regular
 expressions; if \emph{A} and \emph{B} are both regular expressions,
! then \emph{AB} is also a regular expression. If a string \emph{p}
! matches A and another string \emph{q} matches B, the string \emph{pq}
! will match AB if \emph{A} and \emph{B} do no specify boundary
! conditions that are no longer satisfied by \emph{pq}. Thus, complex
 expressions can easily be constructed from simpler primitive
 expressions like the ones described here. For details of the theory
--- 52,60 ----
 Regular expressions can be concatenated to form new regular
 expressions; if \emph{A} and \emph{B} are both regular expressions,
! then \emph{AB} is also a regular expression. In general, if a string
! \emph{p} matches \emph{A} and another string \emph{q} matches \emph{B},
! the string \emph{pq} will match AB. This holds unless \emph{A} or
! \emph{B} contain low precedence operations; boundary conditions between
! \emph{A} and \emph{B}; or have numbered group references. Thus, complex
 expressions can easily be constructed from simpler primitive
 expressions like the ones described here. For details of the theory


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /