regex_automata::dfa

Module onepass

Source
Available on (crate features dfa-search or dfa-onepass) and crate feature dfa-onepass only.
Expand description

A DFA that can return spans for matching capturing groups.

This module is the home of a one-pass DFA.

This module also contains a Builder and a Config for building and configuring a one-pass DFA.

Structsยง

  • An error that occurred during the construction of a one-pass DFA.
  • A builder for a one-pass DFA.
  • A cache represents mutable state that a one-pass DFA requires during a search.
  • The configuration used for building a one-pass DFA.
  • A one-pass DFA for executing a subset of anchored regex searches while resolving capturing groups.