Skip to content

Commit

Permalink
Enable 'm' flag on regex for multi-line tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDumbell committed May 9, 2018
1 parent 96c2aca commit f73be05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regression/test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f73be05

Please sign in to comment.