Implement Regex and NFA.