chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de94d8
)
label regex pattern now doesn't stop until a new field or a newline are found
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 23 Oct 2013 07:58:32 +0000
(09:58 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 23 Oct 2013 07:58:32 +0000
(09:58 +0200)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index fce6f06b2991d46288ed9890abeac1f2e132a8a8..33c4e68d182b9e5d12cf61c3f592050de0323345 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-290,7
+290,7
@@
def scan_apks(apps, apkcache, repodir, knownapks):
name_pat = re.compile(".*name='([a-zA-Z0-9._]*)'.*")
vercode_pat = re.compile(".*versionCode='([0-9]*)'.*")
vername_pat = re.compile(".*versionName='([^']*)'.*")
- label_pat = re.compile(".*label='(.*?)'
[\n ']
.*")
+ label_pat = re.compile(".*label='(.*?)'
(\n| [a-z]*?=)
.*")
icon_pat = re.compile(".*icon='([^']*)'.*")
sdkversion_pat = re.compile(".*'([0-9]*)'.*")
string_pat = re.compile(".*'([^']*)'.*")