From f015d9a5f6df5e6e1c353d6bf81333af68d56a68 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 23 Jun 2001 04:35:09 +0000 Subject: Give the pattern used to pick out a source anchor a more specific pattern. --- Doc/tools/node2label.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/node2label.pl b/Doc/tools/node2label.pl index 69f396a..90f0c18 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) { -- cgit v0.12