I need to check if a variable is a regular expression match object.
print(type(m)) returns something like that: <_sre.SRE_Match object at 0x000
print(type(m))
<_sre.SRE_Match object at 0x000
You can do something like this
isinstance(m, type(re.match("","")))
Usually there is no need to check the type of match objects, so noone has bothered to make a nice way to do it