]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/mozilla/ecma_2/RegExp/exec-001.js
2 * File Name: RegExp/exec-001.js
3 * ECMA Section: 15.7.5.3
4 * Description: Based on ECMA 2 Draft 7 February 1999
6 * Author: christine@netscape.com
7 * Date: 19 February 1999
9 var SECTION
= "RegExp/exec-001";
10 var VERSION
= "ECMA_2";
11 var TITLE
= "RegExp.prototype.exec(string)";
16 * for each test case, verify:
17 * - type of object returned
18 * - length of the returned array
19 * - value of lastIndex
22 * - value of the array indices
25 // test cases without subpatterns
26 // test cases with subpatterns
27 // global property is true
28 // global property is false
29 // test cases in which the exec returns null
31 testcases
[0] = { expect:"PASSED", actual:"PASSED", description:"NO TESTS EXIST" };