Lines Matching full:regexp
5 // Flags: --harmony-regexp-subclass
14 var r = new RegExp("biep");
15 assertTrue(r === RegExp(r));
16 assertFalse(r === new RegExp(r));
20 assertFalse(r === RegExp(r));
24 class A extends RegExp {
30 var r2 = RegExp(r);
35 assertTrue(RegExp.prototype === r2.__proto__);
37 var r3 = RegExp(r);
61 var r = RegExp(match);
75 match.constructor = RegExp;
76 var r = RegExp(match);
82 var r = RegExp("biep", "i");
84 var r2 = RegExp(r, "g");
91 class A extends RegExp {
92 get ["constructor"]() { log.push("constructor"); return RegExp; }
96 var r2 = RegExp(r);