JavaScriptCore:
[WebKit-https.git] / LayoutTests / fast / js / regexp-find-first-asserted-expected.txt
1 Tests some regular expressions that were doing the wrong thing with the "find first asserted" optimization.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS /.*<body>(.*)<\/body>.*/.exec("foo<body>bar</body>baz").toString() is "foo<body>bar</body>baz,bar"
7 PASS /\s*<!--([sS]*)\/\/\s*-->\s*/.exec("<!--// -->").toString() is "<!--// -->,"
8
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12