From 22f5affabbf1a6e6ae25c72d654549a78339560e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 22 Dec 2013 12:27:26 +0100 Subject: [PATCH] Match anything as package name --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 9dbc8b00..a49e069d 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -175,7 +175,7 @@ def apknameinfo(filename): global apk_regex filename = os.path.basename(filename) if apk_regex is None: - apk_regex = re.compile(r"^([a-zA-Z0-9\.]+)_([0-9]+)\.apk$") + apk_regex = re.compile(r"^(.+)_([0-9]+)\.apk$") m = apk_regex.match(filename) try: result = (m.group(1), m.group(2))