Versions in this module Expand all Collapse all v0 v0.2.0 Jun 22, 2023 v0.1.0 Mar 25, 2022 Changes in this version + const FlagNone + const FlagPlus + const FlagStar + var ErrInvalidInput = errors.New("the input provided is invalid") + func Match(t1 Token, t2 Token) bool + func NonEmpty(lhs string, rhs string) (bool, error) + type Flag uint + func (f Flag) String() (s string) + type Glob []Token + func NewGlob(input string) (Glob, error) + type Modifier uint + const ModifierBackslash + type Token interface + Equal func(Token) bool + Flag func() Flag + SetFlag func(Flag) + String func() string + Type func() TokenType + func NewCharacter(r rune) Token + func NewDot() Token + func NewSet(runes []rune) Token + func Simplify(tokens []Token) []Token + func Tokenize(input []rune) ([]Token, error) + type TokenType uint + const TTCharacter + const TTDot + const TTSet