summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-08-21 22:56:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-08-21 23:40:11 +0200
commit342f92763ebc6d0ced4950eb06802f4ea4778a21 (patch)
tree64a9fda225afc448cf5c2707c8149c96427bbc29
parent378e331e92ab0db0fb64891a46b1da18121b01a4 (diff)
downloadcurl-342f92763ebc6d0ced4950eb06802f4ea4778a21.tar.gz
mksymbolsmanpage.pl: match symbols case insenitively
Follow-up to 4e53b9430c750 which made this bug show. Reported-by: i-ky Bug: https://github.com/curl/curl/commit/4e53b9430c7504de8984796e2a2091ec16f27136#commitcomment-55239253 Closes #7607
-rwxr-xr-xdocs/libcurl/mksymbolsmanpage.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/mksymbolsmanpage.pl b/docs/libcurl/mksymbolsmanpage.pl
index 5a117d628..46ad80cdf 100755
--- a/docs/libcurl/mksymbolsmanpage.pl
+++ b/docs/libcurl/mksymbolsmanpage.pl
@@ -6,7 +6,7 @@
# * | (__| |_| | _ <| |___
# * \___|\___/|_| \_\_____|
# *
-# * Copyright (C) 2015 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+# * Copyright (C) 2015 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
# *
# * This software is licensed as described in the file COPYING, which
# * you should have received as part of this distribution. The terms
@@ -69,7 +69,7 @@ HEADER
;
while(<STDIN>) {
- if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/) {
+ if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/i) {
my ($symbol, $rest)=($1,$2);
my ($intro, $dep, $rem);
if($rest =~ s/^([0-9.]*) *//) {