]> diplodocus.org Git - minc/commitdiff
(find_mh_folder): DOH! The // match operation must be done
authorepg <>
Tue, 11 Mar 2003 01:13:18 +0000 (01:13 +0000)
committerepg <>
Tue, 11 Mar 2003 01:13:18 +0000 (01:13 +0000)
case-insensitive.  I think it used to be and i accidentally changed it
when i changed the substitution operation to matching.

minc

diff --git a/minc b/minc
index 7bfec900235834df0c9609593116a3bd00167ed0..7c2a2d39e4d14c53cfbe13a9b5c2fcf1a1e01462 100755 (executable)
--- a/minc
+++ b/minc
@@ -619,7 +619,7 @@ sub find_mh_folder {
             # Walk the filter's list of match/expression pairs.
             foreach $pair (@filter) {
                 ($match, $expression) = @$pair;
             # Walk the filter's list of match/expression pairs.
             foreach $pair (@filter) {
                 ($match, $expression) = @$pair;
-                if ($contents =~ /$match/) {
+                if ($contents =~ /$match/i) {
                     if (eval "\$result = \"$expression\"") {
                         return $result;
                     }
                     if (eval "\$result = \"$expression\"") {
                         return $result;
                     }