Documentation

Regex.Nfa

NFA #

A byte oriented Thompson non-deterministic finite automaton (Checked.NFA), see also Tagged NFA.

def NFA.toCkecked (nfa : Unchecked.NFA) (captures : Array Capture) (groups : Array Nat) (hs : ∀ (i : Nat) (x : i < nfa.states.size), nfa.states[i].nextOf < nfa.states.size) (hv : Capture.valid captures) :

transform Unchecked.NFA to Checked.NFA

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    structure Regex :

    A compiled regular expression for searching Unicode haystacks.

    Instances For
      Equations