From: Fred Drake Date: Sat, 23 Jun 2001 04:35:09 +0000 (+0000) Subject: Give the pattern used to pick out a source anchor a more specific pattern. X-Git-Tag: v2.2a3~1462 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f015d9a5f6df5e6e1c353d6bf81333af68d56a68;p=thirdparty%2FPython%2Fcpython.git Give the pattern used to pick out a source anchor a more specific pattern. --- diff --git a/Doc/tools/node2label.pl b/Doc/tools/node2label.pl index 69f396a2ad8d..90f0c18933a5 100755 --- a/Doc/tools/node2label.pl +++ b/Doc/tools/node2label.pl @@ -39,7 +39,7 @@ foreach $label (keys %internal_labels) { while (<>) { # 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[\#\"\']/) { + if (/(HREF|href)=[\"\']node\d+\.html[\#\"\']/) { @parts = split(/(HREF|href)\=[\"\']/); shift @parts; for $node (@parts) {