Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f015d9a

Browse files
committed
Give the pattern used to pick out a source anchor a more specific pattern.
1 parent 5962eb0 commit f015d9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tools/node2label.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
while (<>) {
4040
# don't want to do one s/// per line per node
4141
# so look for lines with hrefs, then do s/// on nodes present
42-
if (/(HREF|href)=[\"\']([^\#\"\']*)html[\#\"\']/) {
42+
if (/(HREF|href)=[\"\']node\d+\.html[\#\"\']/) {
4343
@parts = split(/(HREF|href)\=[\"\']/);
4444
shift @parts;
4545
for $node (@parts) {

0 commit comments

Comments
 (0)