run

Returns true if the given string is accepted by the automaton. The input must be deterministic.

Complexity: linear in the length of the string.

Note: for full performance, use the RunAutomaton class.


Returns true if the given string (expressed as unicode codepoints) is accepted by the automaton. The input must be deterministic.

Complexity: linear in the length of the string.

Note: for full performance, use the RunAutomaton class.