RegexBase:
add nfa attribute
partial implementation of NFA