From 64234c26e06349ab652a385ef8fba168377db56c Mon Sep 17 00:00:00 2001 From: DYefremov Date: Wed, 20 Sep 2023 00:07:35 +0300 Subject: [PATCH] pids pattern adjustment --- app/ui/service_details_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui/service_details_dialog.py b/app/ui/service_details_dialog.py index 92a71a26..5e7b021a 100644 --- a/app/ui/service_details_dialog.py +++ b/app/ui/service_details_dialog.py @@ -97,7 +97,7 @@ class ServiceDetailsDialog: self._DIGIT_PATTERN = re.compile("\\D") self._NON_EMPTY_PATTERN = re.compile("(?:^[\\s]*$|\\D)") self._CAID_PATTERN = re.compile("(?:^[\\s]*$)|(C:[0-9a-fA-F]{1,4})(,C:[0-9a-fA-F]{1,4})*") - self._PIDS_PATTERN = re.compile("(?:^[\\s]*$)|(c:[0-9]{2}[0-9a-fA-F]{4})(,c:[0-9]{2}[0-9a-fA-F]{4})*") + self._PIDS_PATTERN = re.compile("(?:^[\\s]*$)|(c:[0-9]{2}[0-9a-fA-F]{1,4})(,c:[0-9]{2}[0-9a-fA-F]{1,4})*?") # Buttons self._apply_button = builder.get_object("apply_button") self._create_button = builder.get_object("create_button")