Added escape sequence parsing