From 342f92763ebc6d0ced4950eb06802f4ea4778a21 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 21 Aug 2021 22:56:48 +0200 Subject: [PATCH] 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 --- docs/libcurl/mksymbolsmanpage.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/libcurl/mksymbolsmanpage.pl b/docs/libcurl/mksymbolsmanpage.pl index 5a117d628b..46ad80cdf4 100755 --- a/docs/libcurl/mksymbolsmanpage.pl +++ b/docs/libcurl/mksymbolsmanpage.pl @@ -6,7 +6,7 @@ # * | (__| |_| | _ <| |___ # * \___|\___/|_| \_\_____| # * -# * Copyright (C) 2015 - 2020, Daniel Stenberg, , et al. +# * Copyright (C) 2015 - 2021, Daniel Stenberg, , 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() { - 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.]*) *//) { -- 2.47.3