]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - tests/mozilla/js1_2/regexp/beginLine.js
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / tests / mozilla / js1_2 / regexp / beginLine.js
index c5ccbdc293594623ac19478cfc6f1872af1948b3..686092a69c65ded9e2c2ad8ca51ab36defcc14aa 100644 (file)
@@ -60,8 +60,8 @@
 
     RegExp.multiline = true;
     // 'abc\n123xyz'.match(new RegExp('^\d+')) <multiline==true>
-       testcases[count++] = new TestCase ( SECTION, "'abc\n123xyz'.match(new RegExp('^\\d+'))",
-                                           String(['123']), String('abc\n123xyz'.match(new RegExp('^\\d+'))));
+    testcases[count++] = new TestCase ( SECTION, "'abc\n123xyz'.match(new RegExp('^\\d+','m'))",
+                                        String(['123']), String('abc\n123xyz'.match(new RegExp('^\\d+','m'))));
 
        function test()
        {