From: Daniel Stenberg Date: Tue, 24 Mar 2026 14:51:15 +0000 (+0100) Subject: cleancmd.pl: remove markdown links before spellcheck X-Git-Tag: rc-8_20_0-1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=970f0a8cecd982cb646a9897642e274cd87ab498;p=thirdparty%2Fcurl.git cleancmd.pl: remove markdown links before spellcheck Closes #21085 --- diff --git a/.github/scripts/cleancmd.pl b/.github/scripts/cleancmd.pl index 06b38f1022..988d456204 100755 --- a/.github/scripts/cleancmd.pl +++ b/.github/scripts/cleancmd.pl @@ -102,6 +102,8 @@ sub process { # strip out https URLs, we do not want them spellchecked $l =~ s!https://[a-z0-9\#_/.-]+!!gi; + # strip links, both name and target + $l =~ s/(\[.*?\])\(.*?\)//g; $out .= $l; } close(F);