From 123c4edb4999a3c4b2db1c804d72c75e6f9af215 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Fri, 15 Dec 2023 16:37:15 +0100 Subject: Fix analyse of source name, allowing minus, plus and underscore --- mga-advisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mga-advisor.py b/mga-advisor.py index c3351a8..f8091c3 100644 --- a/mga-advisor.py +++ b/mga-advisor.py @@ -115,7 +115,7 @@ class Widget(QWidget): pkg = pkg.strip() if pkg == "": continue - analyze = re.search(r"(\w+)-\d", pkg) + analyze = re.search(r"([\w\-\+_]+)-\d", pkg) if analyze is not None: pkg = analyze.group(1) sources = self.src_populate(pkg) -- cgit v1.2.1