Skip to content

javascript syntax highlight regex error #388

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions