private static int computeEscapeStandard(String input, int cursor, StringBuilder builder) {
		// Bounds check
		if (cursor + 1 >= input.length()) {
			return 0;
		}

		// Check prefix '\' in "\X"
		if (input.charAt(cursor) != '\\') {
			return 0;
		}

		// Check if next character finishes the escape pattern, 2 if so, 0 if not.
		char next = input.charAt(cursor + 1);
		switch (next) {
			case 'n':
				builder.append('\n');
				return 2;
			case 'r':
				builder.append('\r');
				return 2;
			case 't':
				builder.append('\t');
				return 2;
			case '\\':
				builder.append('\\');
				return 2;
			case '"':
				builder.append('"');
				return 2;
			default:
				return 0;
		}
	}
Replaces standard escape codes with literal values.
<br>
For example: {@code \n}, {@code \r}, {@code \t}, {@code \}, and {@code "}

@param input
		Input text.

@return String with escaped characters.
recaf-core/src/main/java/software/coley/recaf/util/EscapeUtil.java