Module aho_corasick::nfa::noncontiguous
source ยท Expand description
Provides a noncontiguous NFA implementation of Aho-Corasick.
This is a low-level API that generally only needs to be used in niche
circumstances. When possible, prefer using AhoCorasick
instead of a noncontiguous NFA directly. Using an NFA
directly is typically
only necessary when one needs access to the Automaton
trait implementation.
Structsยง
- A builder for configuring an Aho-Corasick noncontiguous NFA.
- Compiler ๐A compiler uses a builder configuration and builds up the NFA formulation of an Aho-Corasick automaton. This roughly corresponds to the standard formulation described in textbooks, with some tweaks to support leftmost searching.
- Match ๐A single match in a non-contiguous NFA.
- A noncontiguous NFA implementation of Aho-Corasick.
- Queued
Set ๐A set of state identifiers used to avoid revisiting the same state multiple times when filling in failure transitions. - State ๐A representation of a sparse NFA state for an Aho-Corasick automaton.
- Transition ๐A single transition in a non-contiguous NFA.