mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-12 13:54:28 +00:00
Update _utils.py
Resolve string termination issue.
This commit is contained in:
parent
ffe93ff484
commit
126292524e
@ -167,7 +167,7 @@ JSON_LD_RE = r'(?is)<script[^>]+type=(["\']?)application/ld\+json\1[^>]*>\s*(?P<
|
|||||||
|
|
||||||
NUMBER_RE = r'\d+(?:\.\d+)?'
|
NUMBER_RE = r'\d+(?:\.\d+)?'
|
||||||
|
|
||||||
WINDOWS_RESERVED_NAMES_RE = fr'({'|'.join(
|
WINDOWS_RESERVED_NAMES_RE = fr'({"|".join(
|
||||||
("CON", "CONOUT$", "CONIN$", "PRN", "AUX", "CLOCK$", "NUL")
|
("CON", "CONOUT$", "CONIN$", "PRN", "AUX", "CLOCK$", "NUL")
|
||||||
+ tuple(f"{name:s}{num:d}" for name, num in itertools.product(("COM", "LPT"), range(0, 10)))
|
+ tuple(f"{name:s}{num:d}" for name, num in itertools.product(("COM", "LPT"), range(0, 10)))
|
||||||
+ tuple(
|
+ tuple(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user