Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#32 Crashing on valid regex string

None
closed
nobody
None
5
2013-09-28
2009-10-22
Anonymous
No

this valid javascript code will kill (have it report missing script end tag and nothing else) the lint engine.

var bar = "foo";
bar.replace(/<script(.|\s)*?\/script>/g, "");

Discussion

    • status: open --> closed
    • Group: -->
     
  • Created test case in r313/r314 to confirm this works correctly.