Many classes allow inclusion of escape sequences in character and string literals; examples include java.util.regex.Pattern
as well as classes that support XML- and SQL-based actions by passing string arguments to methods. According to the Java Language Specification [JLS 2011], Section 3§3.10.6, "Escape Sequences for Character and String Literals,"
...