From: epg <> Date: Tue, 11 Mar 2003 01:13:18 +0000 (+0000) Subject: (find_mh_folder): DOH! The // match operation must be done X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/a17f52db3432b3e7e15f9eaa8aae8bac01351071?ds=sidebyside;hp=71b9d88891bb1b01a4fa78b1ad9a17ac0c31acad (find_mh_folder): DOH! The // match operation must be done case-insensitive. I think it used to be and i accidentally changed it when i changed the substitution operation to matching. --- diff --git a/minc b/minc index 7bfec90..7c2a2d3 100755 --- 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; - if ($contents =~ /$match/) { + if ($contents =~ /$match/i) { if (eval "\$result = \"$expression\"") { return $result; }