emptyRangeBehavior
How are empty ranges handled.
var emptyRangeBehavior: EmptyRangeBehaviorHow are empty ranges handled.
var emptyRangeBehavior: EmptyRangeBehaviors4Glob7PatternV7OptionsV18emptyRangeBehaviorAE05EmptyeF0Ovp What are these?O7LDimport Globstruct OptionsOptions to control how patterns are parsed and matched
struct PatternA glob pattern that can be matched against string content.
enum EmptyRangeBehaviorHow empty ranges ([]) are treated
static let `default`: SelfDefault options for parsing and matching patterns.
static let go: SelfAttempts to match the behavior of filepath.Match in go.
static func posix() -> Pattern.Options Attempts to match the behavior of POSIX glob.
var matchLeadingDirectories: BoolIf a pattern should match if it matches a parent directory, as defined by pathSeparator.
var pathSeparator: Character?The path separator to use in matching
var rangeNegationCharacter: RangeNegationCharacterThe character used to specify when a range matches characters that aren’t in the range.
var requiresExplicitLeadingPeriods: BoolIf a period in the name is at the beginning of a component, don’t match using wildcards.
var supportsEscapedCharacters: BoolIf the pattern supports escaping control characters with ’'
var supportsPathLevelWildcards: BoolIf a double star/asterisk causes the pattern to match path separators.
var supportsPatternLists: BoolRecognize beside the normal patterns also the extended patterns introduced in ksh. Equivalent to FNM_EXTMATCH.
var supportsRangeSeparatorAtBeginningAndEnd: BoolAllows the - character to be included in a character class if it is the first or last character (ie [-abc] or [abc-])
enum RangeNegationCharacterThe character used to invert a character class.