[Python-checkins] python/dist/src/Doc/lib libre.tex,1.100,1.101
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 16 Jul 2003 09:19:11 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29101
Modified Files:
libre.tex
Log Message:
Remove \versionchanged; the text was too complex for the GNU info
conversion to support. Keep the content as normal content, with a
note that this applies starting in Python 2.3.
Index: libre.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libre.tex,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** libre.tex 13 May 2003 14:40:24 -0000 1.100
--- libre.tex 16 Jul 2003 16:19:08 -0000 1.101
***************
*** 917,923 ****
You can often restructure your regular expression to avoid recursion.
! \versionchanged[Simple uses of the \regexp{*?} pattern are now
special-cased to avoid recursion. Thus, the above regular expression
! can avoid recursion by being recast as \regexp{Begin [a-zA-Z0-9_ ]*?end}.
! As a further benefit, such regular expressions will run faster than
! their recursive equivalents.]{2.3}
--- 917,923 ----
You can often restructure your regular expression to avoid recursion.
! Starting with Python 2.3, simple uses of the \regexp{*?} pattern are
special-cased to avoid recursion. Thus, the above regular expression
! can avoid recursion by being recast as
! \regexp{Begin [a-zA-Z0-9_ ]*?end}. As a further benefit, such regular
! expressions will run faster than their recursive equivalents.