mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-19 22:46:36 -05:00
Reject standalone absolute directory filter pattern /**/ during parsing
This commit is contained in:
parent
9e5f51fa5b
commit
d4dc5a7339
5 changed files with 46 additions and 2 deletions
|
|
@ -1988,6 +1988,7 @@ at any depth in a directory tree without knowing the exact path structure.
|
|||
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.
|
||||
.PP
|
||||
Character classes using square brackets match a single character from a
|
||||
specified set or range. Like the other single character patterns, they do
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1706,6 +1706,7 @@ at any depth in a directory tree without knowing the exact path structure.
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue