You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such as: single quotation, and backlsash behind dollar sign i.e. '${VAR}' or ${VAR} sould not be substituted
Thanks for your suggestion. This feature requires to look into the context of the variable, that means to have some custom lexer/parser like this https://github.com/a8m/envsubst/tree/master/parse . When some escape form is supported, it would need more than that, e.g., $$${VAR}, $$$${VAR},..
Though this is quite possible to have new feature, I'd rather keep my tool simple (without a huge refactoring): It simply deals with normal regular expression search-replace task. One simple thing I can do is to add a limited-context form, ie, ${{VAR}}, but this would make the use a tool lock-in.
If you know how this is done with a minimal effort, I'm more than happy to hear from you.
I have a few todos relevant to your request
Update README with new section How it works
Consider to add new form ${{VAR}} (which becomes ${VAR}) or similar simple form.
Such as: single quotation, and backlsash behind dollar sign
i.e. '${VAR}' or \${VAR} sould not be substituted
The text was updated successfully, but these errors were encountered: