Remove unnecessary escapes in regular expressions
See gh-24470
This commit is contained in:
committed by
Rossen Stoyanchev
parent
cf9a052e3a
commit
273812f9c5
@@ -147,7 +147,7 @@ public class CustomizableTraceInterceptor extends AbstractTraceInterceptor {
|
||||
/**
|
||||
* The {@code Pattern} used to match placeholders.
|
||||
*/
|
||||
private static final Pattern PATTERN = Pattern.compile("\\$\\[\\p{Alpha}+\\]");
|
||||
private static final Pattern PATTERN = Pattern.compile("\\$\\[\\p{Alpha}+]");
|
||||
|
||||
/**
|
||||
* The {@code Set} of allowed placeholders.
|
||||
|
||||
Reference in New Issue
Block a user