parent
4d488ab354
commit
b0a6eb5b1e
|
@ -86,8 +86,10 @@ class GlobFilter
|
|||
unset($pattern[$i]);
|
||||
} elseif ($subPattern === '.*.*') {
|
||||
$pattern[$i] = '**';
|
||||
} else {
|
||||
} elseif ($subPattern === '.*') {
|
||||
$pattern[$i] = '/^' . $subPattern . '$/';
|
||||
} else {
|
||||
$pattern[$i] = '/^' . trim($subPattern) . '$/i';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue