parent
2978d9a46a
commit
3a66b0a950
|
@ -192,7 +192,7 @@ class FilterExpression extends Filter
|
|||
|
||||
$parts = array();
|
||||
foreach (preg_split('~\*~', $expression) as $part) {
|
||||
$parts[] = preg_quote($part);
|
||||
$parts[] = preg_quote($part, '/');
|
||||
}
|
||||
$pattern = '/^' . implode('.*', $parts) . '$/';
|
||||
|
||||
|
|
Loading…
Reference in New Issue