mdlinkcheck: do not pick up single quote and backslash after URLs
No binary (build failed)
—
(log yok)
| @@ -160,10 +160,10 @@ sub findlinks { | |
| #print "$f:$line $link\n"; | |
| storelink($f, $line, $link); | |
| } | |
| - | # ignore trailing: dot, quote, asterisk, hash, comma, question mark, |
| - | # colon, closing parenthesis, closing angle bracket, whitespace, pipe, |
| - | # backtick, semicolon |
| - | elsif(/(https:\/\/[a-z0-9.\/:%_+@-]+[^."*\#,?:\)> \t|`;])/i) { |
| + | # ignore trailing: dot, double quote, single quote, asterisk, hash, |
| + | # comma, question mark, colon, closing parenthesis, backslash, |
| + | # closing angle bracket, whitespace, pipe, backtick, semicolon |
| + | elsif(/(https:\/\/[a-z0-9.\/:%_+@-]+[^."'*\#,?:\)> \t|`;\\])/i) { |
| #print "RAW "; | |
| storelink($f, $line, $1); | |
| } | |