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)
Status Name Job ID Coverage
  Tests
passed black #32947

00:00:43

passed check-manifest #32946

00:00:36

passed flake8 #32945

00:00:34

passed mypy #32948

00:00:59

passed py3 #32944

00:00:48

 
  After Tests
passed trigger-other-pipelines #32949

00:00:22