diff --git a/regression/test.pl b/regression/test.pl index 92639accd3f..d137e2dbb84 100755 --- a/regression/test.pl +++ b/regression/test.pl @@ -174,7 +174,7 @@ ($$$$$$$$$) binmode $fh; my $whole_file = <$fh>; $whole_file =~ s/\r\n/\n/g; - my $is_match = $whole_file =~ /$result/; + my $is_match = $whole_file =~ /$result/m; $r = ($included ? !$is_match : $is_match); } else