Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:RegExp

144 // Create regexp that has a *lot* of captures.
156 // Atomic regexp.
160 // Small regexp (no capture);
164 // Small regexp (one capture).
168 // Large regexp (a lot of captures).
169 regexps.push(new RegExp(re_string, "g"));
175 regexp,
183 assertEquals("deadbeef", RegExp.lastMatch);
184 assertEquals("dead", RegExp["$1"]);
186 assertEquals(last_match_expectations[i], RegExp.lastMatch);
187 assertEquals(first_capture_expectations[i], RegExp["$1"]);
195 regexp) {
206 assertEquals("deadbeef", RegExp.lastMatch);
207 assertEquals("dead", RegExp["$1"]);
209 assertEquals(last_match_expectations[i], RegExp.lastMatch);
210 assertEquals(first_capture_expectations[i], RegExp["$1"]);
248 new RegExp(crosscheck);
254 new RegExp(result);