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 66c851f commit d5e50c1Copy full SHA for d5e50c1
tests/Elasticsearch/Tests/YamlRunnerTest.php
@@ -742,7 +742,7 @@ private function checkForRegex($value)
742
private function getTimestampRegex()
743
{
744
return <<<EOF
745
- ~
+ ~[^"]
746
(?P<year>[0-9][0-9][0-9][0-9])
747
-(?P<month>[0-9][0-9]?)
748
-(?P<day>[0-9][0-9]?)
@@ -753,7 +753,7 @@ private function getTimestampRegex()
753
(?:\.(?P<fraction>[0-9]*))?
754
(?:[ \t]*(?P<tz>Z|(?P<tz_sign>[-+])(?P<tz_hour>[0-9][0-9]?)
755
(?::(?P<tz_minute>[0-9][0-9]))?))?)?
756
- ~x
+ [^"]~x
757
EOF;
758
}
759
0 commit comments