Skip to content

Commit

Permalink
Update autoload.php
Browse files Browse the repository at this point in the history
Fixes Compilation error:

>Warning: preg_match(): Compilation failed: missing terminating ] for character class at offset 16 in C:\xampp-7\htdocs\www\vendor\codeception\codeception\autoload.php on line 134
  • Loading branch information
jonny7 authored Jul 17, 2018
1 parent 2060fc1 commit 6ca7696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 131,6 @@ function codecept_is_path_absolute($path)
return mb_substr($path, 0, 1) === DIRECTORY_SEPARATOR;
}

return preg_match('#^[A-Z]:(?![^/\\])#i', $path) === 1;
return preg_match('#^[A-Z]:(?![^/\\\])#i', $path) === 1;
}
}

0 comments on commit 6ca7696

Please sign in to comment.