Categorygithub.com/cloudflare/ahocorasick
modulepackage
0.0.0-20240916140611-054963ec9396
Repository: https://github.com/cloudflare/ahocorasick.git
Documentation: pkg.go.dev

# README

ahocorasick

A Golang implementation of the Aho-Corasick string matching algorithm

# Functions

NewMatcher creates a new Matcher used to match against a set of blices.
NewStringMatcher creates a new Matcher used to match against a set of strings (this is a helper to make initialization easy).

# Structs

Matcher is returned by NewMatcher and contains a list of blices to match against.