Skip to content

Commit ae64dca

Browse files
committed
Failing unterminated
1 parent 003b38b commit ae64dca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Util/FileMatcher.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ public static function toRegEx($glob, $flags = 0): string
6969
self::T_ASTERIX => '[^/]*',
7070
self::T_GREEDY_GLOBSTAR => '.*',
7171
self::T_GLOBSTAR => '/([^/]+/)*',
72+
self::T_BRACKET_OPEN => '[',
73+
self::T_BRACKET_CLOSE => ']',
74+
self::T_HYPHEN => '-',
7275
default => '',
7376
};
7477
}

0 commit comments

Comments
 (0)