captainbrosset/cleanjs — Issue #3: Double slashes in regular expression trick the line parser
Author: captainbrosset
Created: 2012-01-19 22:40:11+00:00
State: open

var a = /\//gi;

This is a valid regular expression in javascript.
However this will trick the lineparser into thinking there is both code and comment on this line:
code: var a = /\
comment: //gi;