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)