mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Match anything as package name
This commit is contained in:
parent
ed482bf242
commit
22f5affabb
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue