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

[JavaScript] Regex with escaped backslash is formatted like a comment #874

Closed
ghost opened this issue Apr 3, 2017 · 2 comments
Closed

Comments

@ghost
Copy link

ghost commented Apr 3, 2017

Multiplying and dividing a regex with escaped backslash by a literal number results in wrong highlighting.

console.log(/\//*1);

and

console.log(/\///1);
@aziz
Copy link
Contributor

aziz commented Apr 3, 2017

While these things are getting fixed here, if you want the most correct syntax highlighting of JS try Ecmascript-Sublime

It can also parse the other bug you reported correctly.

@ghost
Copy link
Author

ghost commented Apr 3, 2017

Nothing to see here 😄

@ghost ghost changed the title [JavaScript] Regex with escaped backslash is formatted like a comment Deleted Apr 11, 2017
@wbond wbond changed the title Deleted [JavaScript] Regex with escaped backslash is formatted like a comment Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant