summaryrefslogtreecommitdiffstats
path: root/Doc/tools/node2label.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/node2label.pl')
-rwxr-xr-xDoc/tools/node2label.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/node2label.pl b/Doc/tools/node2label.pl
index eaf106f..a59d68e 100755
--- a/Doc/tools/node2label.pl
+++ b/Doc/tools/node2label.pl
@@ -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-\d+/$1=\"$label.html/g;
+ s/(HREF|href)=\"$label.html#(l2h-)?SECTION\d+/$1=\"$label.html/g;
$newnames{$node} = "$label.html";
}
}