From: Daniel Martí Date: Wed, 23 Oct 2013 07:58:32 +0000 (+0200) Subject: label regex pattern now doesn't stop until a new field or a newline are found X-Git-Tag: 0.1~323 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=843be726672d4f6ecfeffb76dcfea2133e5e7363;p=fdroidserver.git label regex pattern now doesn't stop until a new field or a newline are found --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index fce6f06b..33c4e68d 100644 --- 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(".*'([^']*)'.*")