toAutomaton

Constructs new Automaton from this RegExp. Same as toAutomaton(null) (empty automaton map).


fun toAutomaton(automaton_provider: AutomatonProvider?): Automaton?

Constructs new Automaton from this RegExp.

Parameters

automaton_provider

provider of automata for named identifiers

Throws

if this regular expression uses a named identifier that is not available from the automaton provider


Constructs new Automaton from this RegExp.

Parameters

automata

a map from automaton identifiers to automata (of type Automaton).

Throws

if this regular expression uses a named identifier that does not occur in the automaton map