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).
6 jobs for topic/default/fix_type_re in 1 minute and 22 seconds (queued for 29 seconds)