Versions in this module Expand all Collapse all v1 v1.2.2 Nov 25, 2022 Changes in this version + var ErrNotASCII = errors.New("non-ASCII input") + type Matcher struct + func Compile(dictionary [][]byte) (*Matcher, error) + func CompileString(dictionary []string) (*Matcher, error) + func MustCompile(dictionary [][]byte) *Matcher + func MustCompileString(dictionary []string) *Matcher + func (m *Matcher) FindAll(in []byte) [][]byte + func (m *Matcher) FindAllString(in string) []string + func (m *Matcher) Match(in []byte) bool + func (m *Matcher) MatchString(in string) bool