mksymbolsmanpage.pl: match symbols case insenitively

Follow-up to 4e53b9430c which made this bug show.

Reported-by: i-ky
Bug: 4e53b9430c (commitcomment-55239253)
Closes #7607
This commit is contained in:
Daniel Stenberg 2021-08-21 22:56:48 +02:00
parent 378e331e92
commit 342f92763e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 # * This software is licensed as described in the file COPYING, which
# * you should have received as part of this distribution. The terms # * you should have received as part of this distribution. The terms
@ -69,7 +69,7 @@ HEADER
; ;
while(<STDIN>) { while(<STDIN>) {
if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/) { if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/i) {
my ($symbol, $rest)=($1,$2); my ($symbol, $rest)=($1,$2);
my ($intro, $dep, $rem); my ($intro, $dep, $rem);
if($rest =~ s/^([0-9.]*) *//) { if($rest =~ s/^([0-9.]*) *//) {