specification
specification copied to clipboard
Glob specification is not clear
This is related to #45.
When reading the Glob Expression section of the specification, I have several questions unanswered:
- Are globs unicode-aware?
Globs from
.gitIgnore
are not unicode-aware. This means that the globs[é]
and?
don't matché
. - How is handled three or more stars
***
? Usually glob libraries treat it as a single star, or as an invalid glob expression. - Can character class match against
/
? Usually glob libraries don't allow that. - Can
{s1,s2,s3}
contain nested glob expressions? e.g.{*.json,*.toml}
. - Can
{s1,s2,s3}
contain empty strings? e.g.{*.gen,}.json
. - Does
{num1..num2}
allow reversed ranges such as{1..0}
? - Does
{num1..num2}
allow numbers with leading zeros such as{01..02}
If yes, is this equivalent to[12]
or0[12]
? - Does
{num1..num2}
allow numbers with a+
sign? e.g.{+1..2}
?
Thanks!