summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-02-02 18:57:12 (GMT)
committerFred Drake <fdrake@acm.org>1999-02-02 18:57:12 (GMT)
commitbb79438d26c63f183fa3e21ae49457241e73e049 (patch)
tree0f83e1e661d15bbb5cf8bc65c53077f8eaa9d47c /Doc/tools
parent2116d983bfb2c205c7974c0bc34123de595a1121 (diff)
downloadcpython-bb79438d26c63f183fa3e21ae49457241e73e049.zip
cpython-bb79438d26c63f183fa3e21ae49457241e73e049.tar.gz
cpython-bb79438d26c63f183fa3e21ae49457241e73e049.tar.bz2
This seems to fix a problem with targeting from the indexes.
Diffstat (limited to 'Doc/tools')
-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 a59d68e..eaf106f 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-)?SECTION\d+/$1=\"$label.html/g;
+ s/(HREF|href)=\"$label.html#l2h-\d+/$1=\"$label.html/g;
$newnames{$node} = "$label.html";
}
}