KER-247: Use Matcher.quoteReplacement(String) method to escape backslashes and dollar signs