Types/Filter
* do not split strings at \s if match:exact is set.
This commit is contained in:
parent
d8d2676596
commit
eca3e09482
1 changed files with 1 additions and 1 deletions
|
|
@ -1359,7 +1359,7 @@ abstract class Filter
|
|||
foreach ($fields as $n => $f)
|
||||
{
|
||||
$sub = [];
|
||||
$parts = array_filter(explode(' ', $string));
|
||||
$parts = $exact ? [$string] : array_filter(explode(' ', $string));
|
||||
foreach ($parts as $p)
|
||||
{
|
||||
if ($p[0] == '-' && (mb_strlen($p) > 3 || $shortStr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue