NIFI-3708 - removed typo from character escape regex

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #1674
This commit is contained in:
Yolanda M. Davis 2017-04-14 11:19:24 -04:00 committed by Matt Burgess
parent deed25656f
commit 5f73ba7f2c
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ public class JoltTransformJSON extends AbstractProcessor {
.build());
} else {
//for validation we want to be able to ensure the spec is syntactically correct and not try to resolve variables since they may not exist yet
Object specJson = SORTR.getValue().equals(transform) ? null : JsonUtils.jsonToObject(specValue.replaceAll("\\$\\{}","\\\\\\\\\\$\\{"), DEFAULT_CHARSET);
Object specJson = SORTR.getValue().equals(transform) ? null : JsonUtils.jsonToObject(specValue.replaceAll("\\$\\{","\\\\\\\\\\$\\{"), DEFAULT_CHARSET);
if (CUSTOMR.getValue().equals(transform)) {
if (StringUtils.isEmpty(customTransform)) {