Closed jakobnissen closed 1 year ago
MWE:
julia> Automa.execute(compile(onfinal!(re"a+", :x)), "aaa") (0, [:x, :x, :x])
On master syntax:
master
julia> Automa.execute(Automa.compile((x = Automa.RegExp.parse("a+"); x.actions[:final] = [:x]; x)), "aaa") (0, [:x, :x, :x])
The problem here is that in the regex re"a+", it's not clear what the final byte is. This should be fixed in re2nfa
re"a+"
re2nfa
MWE:
On
master
syntax:The problem here is that in the regex
re"a+"
, it's not clear what the final byte is. This should be fixed inre2nfa