2022-02-04 13:37:02 +00:00
|
|
|
# flake8: noqa: F405
|
|
|
|
from re import * # F403
|
|
|
|
|
2022-04-24 16:28:18 +00:00
|
|
|
from .compat_utils import passthrough_module
|
|
|
|
|
|
|
|
passthrough_module(__name__, 're')
|
|
|
|
del passthrough_module
|
|
|
|
|
2022-02-04 13:37:02 +00:00
|
|
|
try:
|
|
|
|
Pattern # >= 3.7
|
|
|
|
except NameError:
|
|
|
|
Pattern = type(compile(''))
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
Match # >= 3.7
|
|
|
|
except NameError:
|
|
|
|
Match = type(compile('').match(''))
|