ppkarwasz commented on issue #2679:
URL:
https://github.com/apache/logging-log4j2/issues/2679#issuecomment-2217263541
After discussing in with @vy on Slack, I believe we should coherently use
`$` as escape character, with the following rules:
1. The escape character `$` only applies to the `$`, `:`, `-` and `}`
characters.
2. An escaped character loses its special meaning. So:
- `$${...}` is not expanded,
- `${sys$:-foo}` and `${sys:$-foo}` are replaced with the value of the
system property `-foo`,
- `${foo:-$}}` is expanded as `}` if `foo` is not defined.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]