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 #113

Closed
GoogleCodeExporter opened this issue Aug 18, 2015 · 2 comments
Closed

Javascript syntax highlight regex error #113

GoogleCodeExporter opened this issue Aug 18, 2015 · 2 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 slash ends the regular expression highlighting

What version of the product are you using? On what operating system?

MacVim snapshot 61, VIM 7.3 (using latest syntax file)

Please provide any additional information below.

Original issue reported on code.google.com by nirk.nig...@gmail.com on 21 Feb 2013 at 3:48

@GoogleCodeExporter
Copy link
Author

The correct way is to report the problem to the maintainer of the syntax file. 
I have written him a mail to take a look at this report, so hopefully, he'll be 
able to fix this problem.

Original comment by chrisbr...@googlemail.com on 9 Oct 2014 at 8:55

  • Added labels: Runtime

@chrisbra
Copy link
Member

I think this has been fixed with a runtime file update.

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

2 participants