rewrite regex_parser from scratch and all 12 tests work!