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

Incorret syntax highlight after regexp #215

Closed
szyman opened this issue Jun 1, 2015 · 1 comment
Closed

Incorret syntax highlight after regexp #215

szyman opened this issue Jun 1, 2015 · 1 comment

Comments

@szyman
Copy link

szyman commented Jun 1, 2015

.replace(/\\/g,"/")

Below this line the rest are recognized as string.
Please look at attached screenshot.

syntax bug

@icflorescu
Copy link

Nice catch. Until this gets fixed, you can use the CoffeeScript heregex syntax: .replace(///\\///g,"/"). Uglier, but it doesn't mess up the syntax highlighting.

deathaxe added a commit that referenced this issue Aug 25, 2024
Fixes #128
Fixes #153
Fixes #203
Fixes #212
Fixes #214
Fixes #215
Fixes #221
Fixes #248
Fixes #250
Fixes #252
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

3 participants