Versions in this module Expand all Collapse all v0 v0.1.0 Dec 2, 2026 Changes in this version + func AppendRune(b []byte, r rune, mode Mode) ([]byte, bool) + func DecodeRune(s string, mode Mode) (rune, int) + func HasMeta(pat string, mode Mode) bool + func Match(pat, s string, mode Mode) bool + func MatchHistIgnore(list, line, previous string, mode Mode) bool + func Quote(s string) string + func QuoteChars(s string, mode Mode) string + func RuneCount(s string, mode Mode) int + func Unescape(pat string) string + func UnescapeChars(pat string, mode Mode) string + func ValidString(s string, mode Mode) bool + type Mode uint + const Big5 + const ExtGlob + const NoCase + const PathName + const Period + const UTF8 + type Pattern struct + func Compile(pat string, mode Mode) *Pattern + func (p *Pattern) Find(s string, start int) (int, int, bool) + func (p *Pattern) Match(s string) bool + func (p *Pattern) MatchName(name string, period bool) bool + func (p *Pattern) MatchPath(path string) bool + func (p *Pattern) MatchPrefix(s string, longest bool) (int, bool) + func (p *Pattern) MatchSuffix(s string, longest bool) (int, bool) + func (p *Pattern) Next(s string, i int) int