zuloloxi / vim_7_4_826

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

javascript syntax highlight regex error #388

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 moritz.d...@gmail.com on 23 Jul 2015 at 1:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Correction of typo: Ubuntu 15.04, Vim 7.4, patches 1-488

Original comment by moritz.d...@gmail.com on 23 Jul 2015 at 1:42

GoogleCodeExporter commented 9 years ago
Please report to the maintainer of the syntax plugin. 

Original comment by chrisbr...@googlemail.com on 25 Jul 2015 at 4:44