From 14430978d544992bf89e129f03b29335201566fe Mon Sep 17 00:00:00 2001 From: Vekhir <134215107+Vekhir@users.noreply.github.com> Date: Fri, 12 Sep 2025 09:28:43 +0200 Subject: [PATCH] fix(get_library): Use raw string for regex --- ffms2/get_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffms2/get_library.py b/ffms2/get_library.py index 3fe7f4f..e9f7968 100644 --- a/ffms2/get_library.py +++ b/ffms2/get_library.py @@ -58,7 +58,7 @@ def get_library( def get_bit_architecture(): if sys.platform == "cli" or sys.platform.startswith("java"): - return int(re.match("^(\d+)", platform.architecture()[0]).group(1)) + return int(re.match(r"^(\d+)", platform.architecture()[0]).group(1)) try: return int.bit_length(sys.maxsize) + 1 except (TypeError, AttributeError):