Mercurial > cpython-lru_cache-weakref
diff Doc/tools/node2label.pl @ 18234:fe4071beff41 legacy-trunk
Give the pattern used to pick out a source anchor a more specific pattern.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 23 Jun 2001 04:35:09 +0000 |
| parents | 45badfbfb00e |
| children | 3b323df945bb 7b7b96555842 |
line wrap: on
line diff
--- a/Doc/tools/node2label.pl Sat Jun 23 03:17:02 2001 +0000 +++ b/Doc/tools/node2label.pl Sat Jun 23 04:35:09 2001 +0000 @@ -39,7 +39,7 @@ 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) {
