Home | History | Annotate | Download | only in regexp

Lines Matching refs:RegExp

33 	var TITLE   = 'RegExp: leftContext';
41 // 'abc123xyz'.match(/123/); RegExp.leftContext
43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp.leftContext",
44 'abc', RegExp.leftContext);
46 // 'abc123xyz'.match(/456/); RegExp.leftContext
48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp.leftContext",
49 'abc', RegExp.leftContext);
51 // 'abc123xyz'.match(/abc123xyz/); RegExp.leftContext
53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp.leftContext",
54 '', RegExp.leftContext);
56 // 'xxxx'.match(/$/); RegExp.leftContext
58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp.leftContext",
59 'xxxx', RegExp.leftContext);
61 // 'test'.match(/^/); RegExp.leftContext
63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp.leftContext",
64 '', RegExp.leftContext);
66 // 'xxxx'.match(new RegExp('$')); RegExp.leftContext
67 'xxxx'.match(new RegExp('$'));
68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp.leftContext",
69 'xxxx', RegExp.leftContext);
71 // 'test'.match(new RegExp('^')); RegExp.leftContext
72 'test'.match(new RegExp('^'));
73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp.leftContext",
74 '', RegExp.leftContext);