Simplify how regexs are incrementally parsed.