Replies: 1 comment
-
Seems to be a bug in logback. Filed qos-ch/logback#836 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I put value of such regex?
(password)=(.*?(, |$|}]\"))?
(java regex, double quote is escaped)Context:
I'm using
MaskingJsonGeneratorDecorator
and unable to run the app with above regex.Here's my current setup
When I debug, the
RegexValueMasker
stores thePattern
as(.*?(, |$|
which is an invalid regex hence lead to an error.Am I missing something or is it a bug? I tried to escape the
}
using\
,\\
,}
but none worksHere's my sample input
[email protected]}]","thread"
I expect it will be masked into
taxPayerPassportNumber=[filtered]}]","thread"
Beta Was this translation helpful? Give feedback.
All reactions