[Python-checkins] python/dist/src/Doc/lib libre.tex, 1.101.8.1, 1.101.8.2

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


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

Modified Files:
      Tag: release23-maint
	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.101.8.1
retrieving revision 1.101.8.2
diff -C2 -d -r1.101.8.1 -r1.101.8.2
*** libre.tex	11 Aug 2003 23:43:04 -0000	1.101.8.1
--- libre.tex	31 Aug 2003 05:30:18 -0000	1.101.8.2
***************
*** 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