variable evaluation assignment regex bugfix
@@ -17,7 +17,7 @@ class ConstVariableEvaluation(BaseVariableEvaluation):
@staticmethod
def _generate_var_evaluation_regex(var_name):
- return r'((?:\$\{)?var\.' + re.escape(var_name) + r'\}?)\b'
+ return r'((?:\$\{)?var\.' + re.escape(var_name) + r'(?:\})?)'
@staticmethod
def _extract_context_path(definition_path):
