re.Match
It has to be imported from `typing` in <3.7. Refs https://github.com/python/typeshed/pull/7478.