@Test public void unescapeString5() { assertThat(StringUtil.unescapeString("\\n"), equalTo("\n")); assertThat(StringUtil.unescapeString("This\\nThat"), equalTo("This\nThat")); }
public static String unescapeString(String escapedString) { Matcher match = escapeSequence.matcher(escapedString); StringBuffer output = new StringBuffer(); while(match.find()) { match.appendReplacement(output, substitution(match.group())); } match.appendTail(output); return output.toString(); }
StringUtil { public static String unescapeString(String escapedString) { Matcher match = escapeSequence.matcher(escapedString); StringBuffer output = new StringBuffer(); while(match.find()) { match.appendReplacement(output, substitution(match.group())); } match.appendTail(output); return output.toString(); } }
StringUtil { public static String unescapeString(String escapedString) { Matcher match = escapeSequence.matcher(escapedString); StringBuffer output = new StringBuffer(); while(match.find()) { match.appendReplacement(output, substitution(match.group())); } match.appendTail(output); return output.toString(); } private  StringUtil(); }
StringUtil { public static String unescapeString(String escapedString) { Matcher match = escapeSequence.matcher(escapedString); StringBuffer output = new StringBuffer(); while(match.find()) { match.appendReplacement(output, substitution(match.group())); } match.appendTail(output); return output.toString(); } private  StringUtil(); static String unquote(String quotedString); static String unescapeString(String escapedString); static List<Object> parseCSVLine(String line, String separatorRegex); }
StringUtil { public static String unescapeString(String escapedString) { Matcher match = escapeSequence.matcher(escapedString); StringBuffer output = new StringBuffer(); while(match.find()) { match.appendReplacement(output, substitution(match.group())); } match.appendTail(output); return output.toString(); } private  StringUtil(); static String unquote(String quotedString); static String unescapeString(String escapedString); static List<Object> parseCSVLine(String line, String separatorRegex); static final String STRING_ESCAPE_SEQUENCE_REGEX; static final String QUOTED_STRING_REGEX; static final String SINGLEQUOTED_STRING_REGEX; static final String DOUBLE_REGEX; static final String DOUBLE_REGEX_WITH_NAN; }