This seems to fix a problem with targeting from the indexes.
authorFred Drake <fdrake@acm.org>
Tue, 2 Feb 1999 18:57:12 +0000 (18:57 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 2 Feb 1999 18:57:12 +0000 (18:57 +0000)
Doc/tools/node2label.pl

index a59d68ed59916d2499f9081ef4779d1bf5294cdc..eaf106fe88d14724676c10ca76715c97d4d7fad4 100755 (executable)
@@ -41,7 +41,7 @@ while (<>) {
       if (defined($nodes{$node})) {
        $label = $nodes{$node};
        if (s/(HREF|href)=\"$node([\#\"])/$1=\"$label.html$2/g) {
-         s/(HREF|href)=\"$label.html#(l2h-)?SECTION\d+/$1=\"$label.html/g;
+         s/(HREF|href)=\"$label.html#l2h-\d+/$1=\"$label.html/g;
          $newnames{$node} = "$label.html";
        }
       }