From: Fred T. Hamster Date: Sun, 12 Nov 2023 20:44:51 +0000 (-0500) Subject: dropping debugging again X-Git-Tag: 2.140.188^2~38 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=22d314ce2d5c2a755ae98112fdfed9879233e194;p=feisty_meow.git dropping debugging again --- diff --git a/scripts/files/filename_helper.pl b/scripts/files/filename_helper.pl index 50b71edc..3be75c78 100644 --- a/scripts/files/filename_helper.pl +++ b/scripts/files/filename_helper.pl @@ -75,7 +75,7 @@ sub glob_list { $match =~ s/\*/.*/g; # replace asterisks with dot star. $match =~ s/\+/\\+/g; # escape plusses. $match =~ s/\?/\\?/g; # escape question marks. - $match =~ s/\|/\\?/g; # escape pipe char. + $match =~ s/\|/\\|/g; # escape pipe char. $match =~ s/\$/\\\$/g; # escape dollar sign. $match =~ s/\[/\\[/g; # escape open bracket. $match =~ s/\]/\\]/g; # escape close bracket. @@ -89,6 +89,7 @@ sub glob_list { if ($possible_name =~ /$match/) { # this one matches so add it. push @to_return, $chopped_filename[0] . $possible_name; +#print "a match on: $chopped_filename\n"; } } }