-
Notifications
You must be signed in to change notification settings - Fork 120
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
Strange $
escape or "too many lost \
"
#1219
Comments
$
escape or lost \$
escape or "too many lost \
"
@dmlloyd want to reply? :) |
It's more or less permanently broken until we can address this at a lower level. The primary lesson being "never add a syntax preprocessor to an established syntax without understanding that syntax fully". It should probably be addressed in Additionally, all code which "senses" expressions by doing e.g. |
Quarkus uses SmallRye Config and has the same problem and no one complains? 😭 |
I'll see what I can do. |
$
character has special meaning only in front of{
i.e:
${my.var.name}
If alone,
$
is (must be) harmless.But one has to escape this harmless
$
very hard :-(Standalone
$
eats too much escaping!Real world example:
macros.key.freemarker.format=\\$\\{%s}
Spring →
"\$\{%s}"
SmallRye →
"$\{%s}"
See also
#746
#1056
The text was updated successfully, but these errors were encountered: