Supported Glob Patterns:
* → Matches any number of any character(s), including none.
? → Matches any single character.
[...] → Matches any single character within the set.
[ax6] → Matches "a" or "x" or "6"
[f-j5-7] → Matches one of "f","g","h","i","j","5","6","7"
Ranges and letter lists can be combined.
[!...] → Any single character not in the set.
Works the same as the non inverted set.
{...} → Matches the words within the comma separated list.
{West,East,Farm} → Matches the words "West", "East", "Farm".
{!...}* → Needs the * after, can't have * right before, works like "Does not start with..."
East{!Apple}*Farm → Matches anything starting with "East",
ending with "Farm", excluding things Starting with "EastApple"
*{!...} → Does not work, matches everything.
{...[...]...}* → Sets can be used Groups, but not the other way around.
Other letters and symbols match literally.
\* → Matches "*", all special characters can be "escaped" like this.
Test Cases
| Input | Match? | Add/Remove |
|---|---|---|
?
|