Skip to content
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

Not able to escape backslash #11

Open
sunildharani opened this issue Dec 2, 2014 · 3 comments
Open

Not able to escape backslash #11

sunildharani opened this issue Dec 2, 2014 · 3 comments
Labels

Comments

@sunildharani
Copy link

download

@CJex
Copy link
Owner

CJex commented Dec 2, 2014

It is a special case, because backslash need to represent"\n","\t" in literal string, so a raw'\' need to represent as '\\'. e.g. /\\n/ should be represent as "\\n" that if represent as"\n" will cause ambiguous . And/\*/ represent as"*"won't cause ambiguous,because the blue square box already indicates it is literal.

@sunildharani
Copy link
Author

Thanks JexCheng . Is there any other way to represent "\n" as only "\n" , by changing box color or something like that .. Now also it looks like ambiguous to me with two backslashes and n :) :)

@CJex
Copy link
Owner

CJex commented Dec 2, 2014

I have no idea, do you have any suggestion?
PS: Current representation conform with JavaScript String literal

@CJex CJex closed this as completed Dec 3, 2014
@CJex CJex reopened this Dec 4, 2014
@CJex CJex added the question label Dec 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants