Home | History | Annotate | Download | only in regexp

Lines Matching refs:lastIndex

24 	Description:  'Tests RegExps lastIndex property'
33 var TITLE = 'RegExp: lastIndex';
42 // re=/x./g; re.lastIndex=4; re.exec('xyabcdxa');
44 re.lastIndex=4;
45 testcases[count++] = new TestCase ( SECTION, "re=/x./g; re.lastIndex=4; re.exec('xyabcdxa')",
48 // re.lastIndex
49 testcases[count++] = new TestCase ( SECTION, "re.lastIndex",
50 8, re.lastIndex);
56 // re.lastIndex
57 testcases[count++] = new TestCase ( SECTION, "re.lastIndex",
58 0, re.lastIndex);
64 // re.lastIndex=30; re.exec('123xaxbxc456');
65 re.lastIndex=30;
66 testcases[count++] = new TestCase ( SECTION, "re.lastIndex=30; re.exec('123xaxbxc456')",