From 38128c37108b39a1002a8386a0e6354d89240e6d Mon Sep 17 00:00:00 2001 From: LoRexxar Date: Tue, 27 Jul 2021 17:59:24 +0800 Subject: [PATCH] fix bug for vendor --- core/vendors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vendors.py b/core/vendors.py index 1d03ff36..057e4ece 100644 --- a/core/vendors.py +++ b/core/vendors.py @@ -196,7 +196,7 @@ def check_vendor(self): else: version = 'latest' - var_reg = "\${(\w+)}" + var_reg = "\${([\w\.\_-]+)}" if re.search(var_reg, version, re.I): p2 = re.compile(var_reg) matchs = p2.finditer(version)