Versions in this module Expand all Collapse all v0 v0.0.8 Feb 17, 2022 Changes in this version + const PatAny + const PatMatch + const PatOne + var ErrSyntax = errors.New("invalid syntax") + func CompileLike2Regexp(str string) string + func CompilePattern(pattern string, escape byte) (patChars, patTypes []byte) + func Copy(src string) string + func DoMatch(str string, patChars, patTypes []byte) bool + func Escape(str string, sqlMode mysql.SQLMode) string + func IsExactMatch(patTypes []byte) bool + func MemoizeStr(l func() string) fmt.Stringer + func Unquote(s string) (t string, err error) + func UnquoteChar(s string, quote byte) (value []byte, tail string, err error) + type StringerFunc func() string + func (l StringerFunc) String() string + type StringerStr string + func (i StringerStr) String() string