SourceForge has been redesigned. Learn more.
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

  • Matthias Miller

    Matthias Miller - 2013-09-28
    • status: open --> closed
    • Group: -->
     
  • Matthias Miller

    Matthias Miller - 2013-09-28

    Created test case in r313/r314 to confirm this works correctly.

     

Log in to post a comment.