test1119.pl skip symbol ending with _

This commit is contained in:
Viktor Szakats 2025-08-01 16:08:03 +02:00
parent 062605a440
commit 22108e9c4c
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ int main(void)
# HISTORY
`CURLFTP_CREATE_*` enums became `long` types in 8.16.0, prior to this version
`CURLFTP_CREATE_...` enums became `long` types in 8.16.0, prior to this version
a `long` cast is necessary when passing to curl_easy_setopt(3).
# %AVAILABILITY%

View file

@ -114,7 +114,7 @@ sub checkmanpage {
while(s/\W(CURL(AUTH|E|H|MOPT|OPT|SHOPT|UE|M|SSH|SSLBACKEND|HEADER|FORM|FTP|PIPE|MIMEOPT|GSSAPI|ALTSVC|PROTO|PROXY|UPART|USESSL|_READFUNC|_WRITEFUNC|_CSELECT|_FORMADD|_IPRESOLVE|_REDIR|_RTSPREQ|_TIMECOND|_VERSION)_[a-zA-Z0-9_]+)//) {
my $s = $1;
# skip two "special" ones
if($s !~ /^(CURLE_OBSOLETE|CURLOPT_TEMPLATE)/) {
if($s !~ /(^(CURLE_OBSOLETE|CURLOPT_TEMPLATE))|_$/) {
push @manrefs, "$1:$m:$line";
}
}