Documentation ¶
Index ¶
- func AnyContainsAnyAhoCorasick(ss []string, patterns []string) bool
- func AnyContainsAnyAhoCorasickB(ss []string, patterns []string) bool
- func AnyContainsAnyKarpRabin(ss []string, patterns []string) bool
- func AnyContainsAnyKarpRabinBrute(ss []string, patterns []string) bool
- func AnyContainsAnyNaive(ss []string, patterns []string) bool
- func AnyContainsAnyRadix(ss []string, patterns []string) bool
- type AhoCorasick
- type AhoCorasickB
- type Brute
- type Matcher
- type MatcherMaker
- type RabinKarp
- type RabinKarpBrute
- type Radix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyContainsAnyKarpRabin ¶
func AnyContainsAnyNaive ¶
func AnyContainsAnyRadix ¶
Types ¶
type AhoCorasick ¶
type AhoCorasick struct { *ahocorasick.Matcher // contains filtered or unexported fields }
func (AhoCorasick) Matches ¶
func (m AhoCorasick) Matches(s string) bool
type AhoCorasickB ¶
type AhoCorasickB struct { *ahocorasickb.Matcher // contains filtered or unexported fields }
func (AhoCorasickB) Matches ¶
func (m AhoCorasickB) Matches(s string) bool
type Matcher ¶
func MakeAhoCorasick ¶
func MakeAhoCorasickB ¶
func MakeRabinKarp ¶
func MakeRabinKarpBrute ¶
type MatcherMaker ¶
type RabinKarpBrute ¶
type RabinKarpBrute struct {
// contains filtered or unexported fields
}
func (RabinKarpBrute) Matches ¶
func (m RabinKarpBrute) Matches(s string) bool
Click to show internal directories.
Click to hide internal directories.