removes all regexes, now only using the grammar