super(builder, config, parent, child, context);
GrokDictionaries dict = new GrokDictionaries(config, getConfigs());
String replacementStr = getConfigs().getString(config, "replacement");
String pattern = getConfigs().getString(config, "pattern");
if (getConfigs().getBoolean(config, "isRegex", false)) {
Pattern regex = dict.compileExpression(pattern);
this.matcher = regex.pattern().matcher("");
replacementStr = regex.replaceProperties(replacementStr);
this.literalPattern = null;
} else {
this.matcher = null;
this.literalPattern = pattern;
}