mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Give the pattern used to pick out a source anchor a more specific pattern.
This commit is contained in:
parent
5962eb0d89
commit
f015d9a5f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue