Added tag 0.3.24 for changeset a696237ded2980a00e337231725cffc4c804ef9f
[grml-tips.git] / grml-tips
index 0103730..49e71d2 100755 (executable)
--- a/grml-tips
+++ b/grml-tips
@@ -85,10 +85,10 @@ my $tip = '';
 my $tip_flag = 0;
 
 while (my $line = <$fh>) {
-    if ($line !~ /^--/) {
+    if ($line !~ /^-- $/) {
        $tip .= $line;
     } else {
-       if ( "$tip" =~ /$pattern/m ) {
+       if ( "$tip" =~ /$pattern/mi ) {
            $tip .= $line;
            print "$tip";
            $tip = '';