fix(typing): Explicitly define Match and Pattern on Import Error (python < 3.7)
for python < 3.6 those two types are not defined. In case of import error, let's define them (in the exact same way they are defined in the re module of python
= 3.7).