summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-23 04:35:09 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-23 04:35:09 (GMT)
commitf015d9a5f6df5e6e1c353d6bf81333af68d56a68 (patch)
tree85740e11367248f11ad6645413a564d3619e894a /Doc/tools
parent5962eb0d89bc9e54d5068a171e5c00ada421b1ef (diff)
downloadcpython-f015d9a5f6df5e6e1c353d6bf81333af68d56a68.zip
cpython-f015d9a5f6df5e6e1c353d6bf81333af68d56a68.tar.gz
cpython-f015d9a5f6df5e6e1c353d6bf81333af68d56a68.tar.bz2
Give the pattern used to pick out a source anchor a more specific pattern.
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 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) {