livebs / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

valid regex not parsing correctly #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Paste supplied statement into a brush
2. add to code that is to be highlighted *this is a test - work?;
3. Refresh

What is the expected output? What do you see instead?
Line does not parse however it is a valid regex which parses otherwise

What version of the product are you using? On what operating system?
2.0 / Windows Vista / IIS 7 IE 6,7,8

Please provide any additional information below.
The following does not parse correctly
{ regex: /\*[\w \W \s{1,}]{1,}\;/gmi,                       
css: 'comment'  }

It should parse as a comment however the line is unaffected.

Original issue reported on code.google.com by cam.law...@gmail.com on 8 May 2009 at 8:01