1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-16 10:31:16 +01:00
yt-dlp/yt_dlp/compat/re.py

19 lines
314 B
Python

# flake8: noqa: F405
from re import * # F403
from .compat_utils import passthrough_module
passthrough_module(__name__, 're')
del passthrough_module
try:
Pattern # >= 3.7
except NameError:
Pattern = type(compile(''))
try:
Match # >= 3.7
except NameError:
Match = type(compile('').match(''))