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 syntax highlight regex error #388

Open
GoogleCodeExporter opened this issue Aug 21, 2015 · 3 comments
Open

javascript syntax highlight regex error #388

GoogleCodeExporter opened this issue Aug 21, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Create a JS file
2.Type "abc".match(/\\/);
3.Turn on syntax highlighting

What is the expected output? What do you see instead?
The entire block /\\/ should be highlighted as a regular expression
What happens is that the second backslash escapes the second slash even though 
it should not

What version of the product are you using? On what operating system?
Ubuntu Vim 7.4m patches 1-488

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Jul 2015 at 1:37

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Correction of typo: Ubuntu 15.04, Vim 7.4, patches 1-488

Original comment by [email protected] on 23 Jul 2015 at 1:42

@GoogleCodeExporter
Copy link
Author

Please report to the maintainer of the syntax plugin. 

Original comment by [email protected] on 25 Jul 2015 at 4:44

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