There is a bug in the JS syntax highlighter with multiline comments, strings and regexps.
Created attachment 23874 [details] patch Initialization of previousMatchLength was forgotten.
Landed in r37005.