Adjusted script so it matches case-insensitive
[grml-tips.git] / grml-tips
index 77f0acf..49e71d2 100755 (executable)
--- a/grml-tips
+++ b/grml-tips
@@ -88,7 +88,7 @@ while (my $line = <$fh>) {
     if ($line !~ /^-- $/) {
        $tip .= $line;
     } else {
-       if ( "$tip" =~ /$pattern/m ) {
+       if ( "$tip" =~ /$pattern/mi ) {
            $tip .= $line;
            print "$tip";
            $tip = '';