UnescapeUtils { String replaceEscapedCharacters(String text) { return ESCAPED_CHARACTERS.matcher(text).replaceAll("$1"); }  String unescape(String text);  }
@Test public void replaceEscapedCharacters() { assertEquals(".", unescapeUtils.replaceEscapedCharacters("\\.")); assertEquals("@", unescapeUtils.replaceEscapedCharacters("\\@")); assertEquals("?", unescapeUtils.replaceEscapedCharacters("\\?")); }