summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mga-advisor.py2
1 files changed, 1 insertions, 1 deletions
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)