Skip to content

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented May 16, 2023

The previously used pattern (.*}|[^}]*) basically means "either a nested value, identified by a closing brace, or a plain text value with no brace". This is pretty complicated way to say we need to take anything that comes next, and recursively interpolate value.

closes #401

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof force-pushed the fix_nested_var_expansion branch from 5201b82 to ed21563 Compare May 16, 2023 07:23
@ndeloof ndeloof merged commit 32b078a into compose-spec:master May 16, 2023
@ndeloof ndeloof deleted the fix_nested_var_expansion branch May 16, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested interpolation does not allow mixing of strings and variables, unless it ends with a variable
2 participants