-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support conventional var escaping #12
Comments
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., 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, 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
Thanks a lot. |
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: