From f437434a2dc6f61d4edee29eaf700f8dfd87494d Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 11 Jul 2019 00:27:22 +0300 Subject: [PATCH] patchport: improve version name regex --- patchport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchport.py b/patchport.py index f8f4f976..2038199a 100644 --- a/patchport.py +++ b/patchport.py @@ -89,7 +89,7 @@ re_versioncode_xml = re.compile(r'(platformBuildVersionCode="[0-9]+")') re_versionname_xml = re.compile(r'(platformBuildVersionName="[0-9a-z.]+")') re_versioncode_yml = re.compile(r'versionCode: \'([0-9]+)\'') -re_versionname_yml = re.compile(r'versionName: ([0-9a-z.]+)') +re_versionname_yml = re.compile(r'versionName: (.+)$') re_releasedate = re.compile(r'released on ([0-9]{4}-[0-9]{2}-[0-9]{2})') re_crashlytics = re.compile(r'com\.crashlytics\.android\.build_id">([a-z0-9]'