minor file_find_regex() logging prefix update

This commit is contained in:
Michael Rash
2012-07-16 22:05:15 -04:00
parent 1b9f847521
commit 981059452b
+2 -2
View File
@@ -2734,13 +2734,13 @@ sub file_find_regex() {
my $matched = 0;
for my $line (@file_lines) {
if ($line =~ $re) {
push @write_lines, "[.] file_find_regex() " .
push @write_lines, "[+] file_find_regex() " .
"Matched '$re' with line: $line";
$matched = 1;
}
}
unless ($matched) {
push @write_lines, "[.] file_find_regex() " .
push @write_lines, "[-] file_find_regex() " .
"Did not match any regex in '@$re_ar' in file: $file\n";
$found_all_regexs = 0;
}