224225226227228229230231232233234
if (varValue.indexOf ('\\') != -1) { // Have to map each backslash to four backslashes due to a // double-parse issue. buf.clear(); buf.append(varValue); buf.replaceAll("\\", "\\\\\\\\"); map.put (varName, buf.toString()); } }