Skip to content

Commit

Permalink
Merge pull request #4 from aturetta/master
Browse files Browse the repository at this point in the history
fix: do not match {}, only ${}
  • Loading branch information
anandjoshi91 committed Feb 12, 2023
2 parents 8c7aec5 + 386b0d6 commit 6e43b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion properties/p.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __evaluate_properties(self, key):
else:
val = key

evalset = set(re.findall(r'(?<={)[^}]*(?=})', val))
evalset = set(re.findall(r'(?<=\${)[^}]*(?=})', val))

try:
# If the set is empty. This is the final value. return it
Expand Down

0 comments on commit 6e43b74

Please sign in to comment.