Commit [c3da61] default  Maximize  Restore  History

Fix parsing of JavaScript regular expressions containing a delimiter in a range

Regular expression "/[/]/" is valid, the second "/" being escaped by the
character range ("[]"). Also, escape any \-prefixed character, including
"[" and "]".

Colomban Wendling Colomban Wendling 2012-12-30

changed lexers/LexCPP.cxx
lexers/LexCPP.cxx Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks