Cleanup _parse_exact_re in parse.py.