found another library to use, but seems to focus on regex without dealing directly with NFAs