Treat an empty range as matching nothing, equivalent to nothing at all
case allow
s4Glob7PatternV7OptionsV18EmptyRangeBehaviorO5allowyA2GmF
22LZ4
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 error
Throw an error when an empty range is used
case treatClosingBracketAsCharacter
When a range starts with a closing range character, treat the closing bracket as a character and continue the range