- <init>
Constructs a nfa containing two states which have transitions from first to last
first -rs> last
- concat
Concatenates this to nfa by making epsilon move from this last to nfa first.
- getLast
- opt
Changes this nfa to be optional by adding epsilon from first to last.
- star
Changes this nfa to be a Kleenes star by adding epsilon moves from first to last
and vice versa. Ext
- collect
- constructDFA
Constructs a dfa from using first nfa state as starting state.
- dump
- modifyFixedEnder
Precondition is that the NFA is ,e.g, for [a-z]+end like
s1-a-z>s2-a-z>s3-ε>s4-e>s5-ε>s6-n>s7-ε>s8-