Skip to content

Commit 8ba992e

Browse files
authored
Merge pull request #10 from ockstadt/patch-1
fix: regular expression
2 parents d890396 + e168d9a commit 8ba992e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PadsJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function padLiteral($tmpJson)
4444
return $tmpJson;
4545
}
4646

47-
$match = \preg_match('/(tr?u?e?|fa?l?s?e|nu?l?l?)$/', $tmpJson, $matches);
47+
$match = \preg_match('/(tr?u?e?|fa?l?s?e?|nu?l?l?)$/', $tmpJson, $matches);
4848

4949
if (!$match || null === $literal = $this->maybeLiteral($matches[1])) {
5050
return $tmpJson;

0 commit comments

Comments
 (0)