Skip to content
Snippets Groups Projects
Commit cf465eec authored by Janis Daniel Dähne's avatar Janis Daniel Dähne
Browse files

- allowed comment with # in regex tests (full line comment)

parent 2a5673c7
Branches
No related tags found
No related merge requests found
......@@ -257,7 +257,11 @@ function do_regexTest_format2($allFiles, $testContent)
$lineCount = 1;
foreach ($lines as $line) {
if (trim($line) == "") {
if (trim($line) === "") {
continue;
}
if (substr(trim($line), 0, 1) === "#") { //comment --> ignore
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment