Skip to content

String declaration doesn't escape characters using back slash. #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dhyey-shah opened this issue Mar 5, 2021 · 0 comments
Open

Comments

@dhyey-shah
Copy link
Member

dhyey-shah commented Mar 5, 2021

Input:

var x = "This is a cafe example.\nI am testing \"Strings\".";
cmd.println(x);

Output:

This is a cafe example.
I am testing Strings.

"" are not escaped/trimmed in the second line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant