Throw an error when an empty range is used
case error
s4Glob7PatternV7OptionsV18EmptyRangeBehaviorO5erroryA2GmF
5DP32
import Glob
enum EmptyRangeBehavior
How empty ranges ([]) are treated
[]
struct Pattern
A glob pattern that can be matched against string content.
struct Options
Options to control how patterns are parsed and matched
case allow
Treat an empty range as matching nothing, equivalent to nothing at all
case treatClosingBracketAsCharacter
When a range starts with a closing range character, treat the closing bracket as a character and continue the range