Lines Matching refs:RegExp
29 PASS (new RegExp()).source is '(?:)'
30 PASS Boolean(new RegExp()) is true
31 PASS isNaN(Number(new RegExp())) is true
32 PASS RegExp(/x/).source is 'x'
33 PASS RegExp('x', 'g').global is true
34 PASS RegExp('x').source is 'x'
35 PASS new RegExp('x').source is 'x'
55 PASS var r = new RegExp(/x/); r.global=true; r.lastIndex = -1; typeof r.test('a') is 'boolean'
58 PASS RegExp.$1 is 'abc'
59 PASS RegExp.$2 is 'ghi'
60 PASS RegExp.$3 is ''
62 PASS RegExp.$1 is 'abcdefghi'
63 PASS RegExp.$2 is 'bcdefgh'
64 PASS RegExp.$3 is 'cdefg'
65 PASS RegExp.$4 is 'def'
66 PASS RegExp.$5 is 'e'
67 PASS RegExp.$6 is ''
69 PASS RegExp.$1 is '100'
70 PASS RegExp.$3 is '200'
71 PASS RegExp.$5 is '150'
72 PASS RegExp.$7 is '15'
74 PASS RegExp.$1 is '100'
75 PASS RegExp.$3 is '200'
76 PASS RegExp.$5 is '150'
77 PASS RegExp.$7 is '15'
97 PASS RegExp.$1 is '98 '
98 PASS RegExp.$2 is ''
101 PASS RegExp.$1 is '76 '
102 PASS RegExp.$2 is ''
116 FAIL Object.prototype.toString.apply(RegExp.prototype) should be [object RegExp]. Was [object Objec…
117 PASS typeof RegExp.prototype.toString() is 'string'
118 PASS new RegExp().toString() is '/(?:)/'
119 PASS (new RegExp('(?:)')).source is '(?:)'