//unescape hash variable
tempVar = StringEscapeUtils.unescapeJavaScript(tempVar);
//get result from plugin
String value = cachedPlugin.processHashVariable(tempVar);
if (value != null && !StringUtil.TYPE_REGEX.equals(escapeFormat) && !StringUtil.TYPE_JSON.equals(escapeFormat)) {
value = StringUtil.escapeRegex(value);
}