]> jfr.im git - yt-dlp.git/blame - yt_dlp/compat/re.py
[cleanup] Misc fixes
[yt-dlp.git] / yt_dlp / compat / re.py
CommitLineData
77f90330 1# flake8: noqa: F405
77f90330 2from re import * # F403
3
9196cbfe 4from .compat_utils import passthrough_module
5
6passthrough_module(__name__, 're')
7del passthrough_module
8
77f90330 9try:
10 Pattern # >= 3.7
11except NameError:
12 Pattern = type(compile(''))
13
14
15try:
16 Match # >= 3.7
17except NameError:
18 Match = type(compile('').match(''))