diff options
author | Fred Drake <fdrake@acm.org> | 2001-06-23 04:35:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-06-23 04:35:09 (GMT) |
commit | f015d9a5f6df5e6e1c353d6bf81333af68d56a68 (patch) | |
tree | 85740e11367248f11ad6645413a564d3619e894a /Doc | |
parent | 5962eb0d89bc9e54d5068a171e5c00ada421b1ef (diff) | |
download | cpython-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')
-rwxr-xr-x | Doc/tools/node2label.pl | 2 |
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) { |