Parse out escape sequences