Reject standalone absolute directory filter pattern /**/ during parsing

This commit is contained in:
Andrea Mazzoleni 2026-08-26 13:02:55 +02:00
parent 9e5f51fa5b
commit d4dc5a7339
5 changed files with 46 additions and 2 deletions

View file

@ -1593,6 +1593,7 @@ Pattern
For example, the pattern `src/**/main.js` matches `src/main.js` (skipping
zero directories), `src/ui/main.js` (skipping one directory), and
`src/ui/components/main.js` (skipping two directories).
The standalone form `/**/` is not accepted as a complete pattern.
Character classes using square brackets match a single character from a
specified set or range. Like the other single character patterns, they do