try to fix preg match on excluded files

This commit is contained in:
Jean-Christian Paul Denis 2023-03-14 20:45:40 +01:00
parent 17f5ea7111
commit ac34c285ab
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -25,7 +25,7 @@ class Core
{
public static function quote_exclude(array $exclude): array
{
foreach (My::EXCLUDED_FILES as $k => $v) {
foreach ($exclude as $k => $v) {
$exclude[$k] = '#(^|/)(' . str_replace(
['.', '*'],
['\.', '.*?'],