[Python-checkins] CVS: python/dist/src/Doc/tools node2label.pl,1.11,1.12
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 22 Jun 2001 21:35:11 -0700
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv32363/tools
Modified Files:
node2label.pl
Log Message:
Give the pattern used to pick out a source anchor a more specific pattern.
Index: node2label.pl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/node2label.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** node2label.pl 2001/05/29 19:53:46 1.11
--- node2label.pl 2001/06/23 04:35:09 1.12
***************
*** 40,44 ****
# don't want to do one s/// per line per node
# so look for lines with hrefs, then do s/// on nodes present
! if (/(HREF|href)=[\"\']([^\#\"\']*)html[\#\"\']/) {
@parts = split(/(HREF|href)\=[\"\']/);
shift @parts;
--- 40,44 ----
# don't want to do one s/// per line per node
# so look for lines with hrefs, then do s/// on nodes present
! if (/(HREF|href)=[\"\']node\d+\.html[\#\"\']/) {
@parts = split(/(HREF|href)\=[\"\']/);
shift @parts;