Keyerror on remove_dead_notes
Closed this issue · 1 comments
jakobnissen commented
MWE:
julia> m = Automa.compile(re"A" * re"B" & re"BC")
ERROR: KeyError: key Automa.NFANode(<0 edges@901925508168654320>) not found
Stacktrace:
Dig into this when I have time
More information: This happens when the regex can't match anything.
Another issue: Compiling re""
leads to a machine that accepts nothing, not even the empty string
jakobnissen commented
Will be closed in next release, see attached commit.