Home | History | Annotate | Download | only in regexp

Lines Matching refs:RegExp

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