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 b52516d commit c97236bCopy full SHA for c97236b
src/Framework/Constraint/Operator/LogicalNot.php
@@ -49,6 +49,9 @@ public static function negate(string $string): string
49
];
50
51
preg_match('/(\'[\w\W]*\')([\w\W]*)("[\w\W]*")/i', $string, $matches);
52
+ if (count($matches) === 0) {
53
+ preg_match('/(\'[\w\W]*\')([\w\W]*)(\'[\w\W]*\')/i', $string, $matches);
54
+ }
55
56
$positives = array_map(static function (string $s)
57
{
0 commit comments