We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 259af93 commit b411980Copy full SHA for b411980
scripts/dev/bless_tests.php
@@ -79,6 +79,7 @@ function formatToRegex(string $format): string {
79
$result = preg_quote($format, '/');
80
$result = str_replace('%d', '\d+', $result);
81
$result = str_replace('%s', '[^\r\n]+', $result);
82
+ $result = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $result);
83
return "/^$result$/s";
84
}
85
0 commit comments