From b6ab3604ea809e359132026b1fab0b4feb9b5564 Mon Sep 17 00:00:00 2001 From: giles knap Date: Mon, 29 Dec 2025 22:09:02 +0000 Subject: [PATCH] fix server-range regex --- src/usb_remote/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb_remote/utility.py b/src/usb_remote/utility.py index 6780d78..01f16ca 100644 --- a/src/usb_remote/utility.py +++ b/src/usb_remote/utility.py @@ -12,7 +12,7 @@ # Regex pattern to parse IP range specifications https://regex101.com/r/ChTMLn/1 re_ip_range = re.compile( - r"^(?P(?:\d{1,3}\.){3})(?P\d{1,3})-(?P\d{1,3})" + r"^(?P(?:\d{1,3}\.){3})(?P\d{1,3})-(?P\d{1,3})$" ) # Server port constant (also defined in api.py to avoid circular import)