[Python-checkins] python/dist/src/Doc/lib libre.tex,1.102,1.103

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sat Aug 30 23:29:04 EDT 2003


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

Modified Files:
	libre.tex 
Log Message:
SF bug #732120:An extended definition of "non-overlapping" would save time.

Clarified the meaning of non-overlapping in patterns with zero length
matches.



Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** libre.tex	12 Aug 2003 00:01:15 -0000	1.102
--- libre.tex	31 Aug 2003 05:29:02 -0000	1.103
***************
*** 548,552 ****
    return a list of groups; this will be a list of tuples if the
    pattern has more than one group.  Empty matches are included in the
!   result.
    \versionadded{1.5.2}
  \end{funcdesc}
--- 548,552 ----
    return a list of groups; this will be a list of tuples if the
    pattern has more than one group.  Empty matches are included in the
!   result unless they touch the beginning of another match.
    \versionadded{1.5.2}
  \end{funcdesc}
***************
*** 555,559 ****
    Return an iterator over all non-overlapping matches for the RE
    \var{pattern} in \var{string}.  For each match, the iterator returns
!   a match object.  Empty matches are included in the result.
    \versionadded{2.2}
  \end{funcdesc}
--- 555,560 ----
    Return an iterator over all non-overlapping matches for the RE
    \var{pattern} in \var{string}.  For each match, the iterator returns
!   a match object.  Empty matches are included in the result unless they
!   touch the beginning of another match.
    \versionadded{2.2}
  \end{funcdesc}





More information about the Python-checkins mailing list