mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
label regex pattern now doesn't stop until a new field or a newline are found
This commit is contained in:
parent
6de94d8e11
commit
843be72667
@ -290,7 +290,7 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
|||||||
name_pat = re.compile(".*name='([a-zA-Z0-9._]*)'.*")
|
name_pat = re.compile(".*name='([a-zA-Z0-9._]*)'.*")
|
||||||
vercode_pat = re.compile(".*versionCode='([0-9]*)'.*")
|
vercode_pat = re.compile(".*versionCode='([0-9]*)'.*")
|
||||||
vername_pat = re.compile(".*versionName='([^']*)'.*")
|
vername_pat = re.compile(".*versionName='([^']*)'.*")
|
||||||
label_pat = re.compile(".*label='(.*?)'[\n '].*")
|
label_pat = re.compile(".*label='(.*?)'(\n| [a-z]*?=).*")
|
||||||
icon_pat = re.compile(".*icon='([^']*)'.*")
|
icon_pat = re.compile(".*icon='([^']*)'.*")
|
||||||
sdkversion_pat = re.compile(".*'([0-9]*)'.*")
|
sdkversion_pat = re.compile(".*'([0-9]*)'.*")
|
||||||
string_pat = re.compile(".*'([^']*)'.*")
|
string_pat = re.compile(".*'([^']*)'.*")
|
||||||
|
Loading…
Reference in New Issue
Block a user