diff --git a/podman_compose.py b/podman_compose.py index 25e69a8..c4dfa8a 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -179,8 +179,8 @@ var_re = re.compile(r""" (?:{ (?P[_a-zA-Z][_a-zA-Z0-9]*) (?:(?P:)?(?: - (?:-(?P[^}]+)) | - (?:\?(?P[^}]+)) + (?:-(?P[^}]*)) | + (?:\?(?P[^}]*)) ))? }) )