Revision: 313
http://sourceforge.net/p/javascriptlint/code/313
Author: matthiasmiller
Date: 2013-09-28 04:48:18 +0000 (Sat, 28 Sep 2013)
Log Message:
-----------
#32 Crashing on valid regex string
Add a test case to confirm this works.
Added Paths:
-----------
trunk/tests/html/script_tag_in_regexp.html
Added: trunk/tests/html/script_tag_in_regexp.html
===================================================================
--- trunk/tests/html/script_tag_in_regexp.html (rev 0)
+++ trunk/tests/html/script_tag_in_regexp.html 2013-09-28 04:48:18 UTC (rev 313)
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+ <title>JavaScript Lint Test Page</title>
+ <script type="text/javascript"><!--
+ var re = /<script(.|\s)*?\/script>/g;
+ /*jsl:unused re*/
+ //-->
+ </script>
+</head>
+<body>
+</body>
+</html>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|