Closed
Description
What is the problem?
Escaped characters are mishandled, for instance \
disappears from the string.
How to reproduce the problem?
Try the following
! "1\n2"
What should be normally expected?
I suppose the escaped character should either be left untouched, like
["1\n2"]
or parsed and displayed like
["1
2"]
What do you get instead?
["1n2"]
What else do you have to say?
The same problem occurs with other escaped characters like \t
. The misbehavior is also observed when using println!
.
Activity