Home | History | Annotate | Download | only in webkit

Lines Matching refs:match

25 'Test regular expression processing with alternatives that match consuming no characters'
39 shouldBe('emptyStr.match(re1)', '[""]');
40 shouldBe('s1.match(re1)', '[""]');
41 shouldBe('s2.match(re1)', '["aaaa"]');
42 shouldBe('s3.match(re1)', '["aa"]');
46 shouldBe('emptyStr.match(re2)', '[""]');
47 shouldBe('s1.match(re2)', '[""]');
48 shouldBe('s2.match(re2)', '["aaaa"]');
49 shouldBe('s3.match(re2)', '["aa"]');
53 shouldBe('emptyStr.match(re3)', '[""]');
54 shouldBe('s1.match(re3)', '[""]');
55 shouldBe('s2.match(re3)', '["aaaa"]');
56 shouldBe('s3.match(re3)', '["aa"]');
60 shouldBe('emptyStr.match(re4)', '["", undefined]');
61 shouldBe('s1.match(re4)', '["", undefined]');
62 shouldBe('s2.match(re4)', '["aaaa", "a"]');
63 shouldBe('s3.match(re4)', '["aa", "a"]');
67 shouldBe('emptyStr.match(re5)', '["", undefined]');
68 shouldBe('s1.match(re5)', '["", undefined]');
69 shouldBe('s2.match(re5)', '["aaaa", "a"]');
70 shouldBe('s3.match(re5)', '["aa", "a"]');
74 shouldBe('emptyStr.match(re6)', '["", undefined]');
75 shouldBe('s1.match(re6)', '["", undefined]');
76 shouldBe('s2.match(re6)', '["aaaa", "a"]');
77 shouldBe('s3.match(re6)', '["aa", "a"]');
81 shouldBe('emptyStr.match(re7)', '[""]');
82 shouldBe('s1.match(re7)', '[""]');
83 shouldBe('s2.match(re7)', '["aaa"]');
84 shouldBe('s3.match(re7)', '["aa"]');
88 shouldBe('emptyStr.match(re8)', '[""]');
89 shouldBe('s1.match(re8)', '[""]');
90 shouldBe('s2.match(re8)', '["aaaa"]');
91 shouldBe('s3.match(re8)', '["aa"]');
95 shouldBe('emptyStr.match(re9)', '[""]');
96 shouldBe('s1.match(re9)', '[""]');
97 shouldBe('s2.match(re9)', '["aaaa"]');
98 shouldBe('s3.match(re9)', '["aa"]');
102 shouldBe('emptyStr.match(re10)', '[""]');
103 shouldBe('s1.match(re10)', '[""]');
104 shouldBe('s2.match(re10)', '[""]');
105 shouldBe('s3.match(re10)', '[""]');
109 shouldBe('emptyStr.match(re11)', '[""]');
110 shouldBe('s1.match(re11)', '[""]');
111 shouldBe('s2.match(re11)', '[""]');
112 shouldBe('s3.match(re11)', '[""]');
116 shouldBe('emptyStr.match(re12)', '[""]');
117 shouldBe('s1.match(re12)', '[""]');
118 shouldBe('s2.match(re12)', '[""]');
119 shouldBe('s3.match(re12)', '[""]');
123 shouldBe('emptyStr.match(re13)', '["", undefined]');
124 shouldBe('s1.match(re13)', '["", undefined]');
125 shouldBe('s2.match(re13)', '["", undefined]');
126 shouldBe('s3.match(re13)', '["", undefined]');
130 shouldBe('emptyStr.match(re14)', '["", undefined]');
131 shouldBe('s1.match(re14)', '["", undefined]');
132 shouldBe('s2.match(re14)', '["", undefined]');
133 shouldBe('s3.match(re14)', '["", undefined]');
137 shouldBe('emptyStr.match(re15)', '["", undefined]');
138 shouldBe('s1.match(re15)', '["", undefined]');
139 shouldBe('s2.match(re15)', '["", undefined]');
140 shouldBe('s3.match(re15)', '["", undefined]');
144 shouldBe('emptyStr.match(re16)', '[""]');
145 shouldBe('s1.match(re16)', '[""]');
146 shouldBe('s2.match(re16)', '["a"]');
147 shouldBe('s3.match(re16)', '["a"]');
151 shouldBe('emptyStr.match(re17)', '[""]');
152 shouldBe('s1.match(re17)', '[""]');
153 shouldBe('s2.match(re17)', '["a"]');
154 shouldBe('s3.match(re17)', '["a"]');
158 shouldBe('emptyStr.match(re18)', '[""]');
159 shouldBe('s1.match(re18)', '[""]');
160 shouldBe('s2.match(re18)', '["a"]');
161 shouldBe('s3.match(re18)', '["a"]');
165 shouldBe('emptyStr.match(re19)', '["", undefined]');
166 shouldBe('s1.match(re19)', '["", undefined]');
167 shouldBe('s2.match(re19)', '["a", "a"]');
168 shouldBe('s3.match(re19)', '["a", "a"]');
172 shouldBe('emptyStr.match(re20)', '["", undefined]');
173 shouldBe('s1.match(re20)', '["", undefined]');
174 shouldBe('s2.match(re20)', '["a", "a"]');
175 shouldBe('s3.match(re20)', '["a", "a"]');
179 shouldBe('emptyStr.match(re21)', '["", undefined]');
180 shouldBe('s1.match(re21)', '["", undefined]');
181 shouldBe('s2.match(re21)', '["a", "a"]');
182 shouldBe('s3.match(re21)', '["a", "a"]');
186 shouldBe('emptyStr.match(re22)', '[""]');
187 shouldBe('s1.match(re22)', '[""]');
188 shouldBe('s2.match(re22)', '[""]');
189 shouldBe('s3.match(re22)', '[""]');
193 shouldBe('emptyStr.match(re23)', '[""]');
194 shouldBe('s1.match(re23)', '[""]');
195 shouldBe('s2.match(re23)', '[""]');
196 shouldBe('s3.match(re23)', '[""]');
200 shouldBe('emptyStr.match(re24)', '[""]');
201 shouldBe('s1.match(re24)', '[""]');
202 shouldBe('s2.match(re24)', '[""]');
203 shouldBe('s3.match(re24)', '[""]');
207 shouldBe('emptyStr.match(re25)', '["", undefined]');
208 shouldBe('s1.match(re25)', '["", undefined]');
209 shouldBe('s2.match(re25)', '["", undefined]');
210 shouldBe('s3.match(re25)', '["", undefined]');
214 shouldBe('emptyStr.match(re26)', '["", undefined]');
215 shouldBe('s1.match(re26)', '["", undefined]');
216 shouldBe('s2.match(re26)', '["", undefined]');
217 shouldBe('s3.match(re26)', '["", undefined]');
221 shouldBe('emptyStr.match(re27)', '["", undefined]');
222 shouldBe('s1.match(re27)', '["", undefined]');
223 shouldBe('s2.match(re27)', '["", undefined]');
224 shouldBe('s3.match(re27)', '["", undefined]');
228 shouldBe('emptyStr.match(re28)', 'null');
229 shouldBe('s1.match(re28)', '["x"]');
230 shouldBe('s2.match(re28)', 'null');
231 shouldBe('s3.match(re28)', '["aax"]');
235 shouldBe('emptyStr.match(re29)', 'null');
236 shouldBe('s1.match(re29)', '["x"]');
237 shouldBe('s2.match(re29)', 'null');
238 shouldBe('s3.match(re29)', '["aax"]');
242 shouldBe('emptyStr.match(re30)', 'null');
243 shouldBe('s1.match(re30)', '["x"]');
244 shouldBe('s2.match(re30)', 'null');
245 shouldBe('s3.match(re30)', '["aax"]');
249 shouldBe('emptyStr.match(re31)', '[""]');
250 shouldBe('s1.match(re31)', '[""]');
251 shouldBe('s3.match(re31)', '["aa"]');
252 shouldBe('s4.match(re31)', '["abab"]');
256 shouldBe('emptyStr.match(re32)', '[""]');
257 shouldBe('s1.match(re32)', '[""]');
258 shouldBe('s2.match(re32)', '["aaaa"]');
259 shouldBe('s4.match(re32)', '["abab"]');
260 shouldBe('s5.match(re32)', '["ab"]');
261 shouldBe('s6.match(re32)', '[""]');
265 shouldBe('emptyStr.match(re33)', '[""]');
266 shouldBe('s1.match(re33)', '[""]');
267 shouldBe('s7.match(re33)', '["g0"]');
271 shouldBe('emptyStr.match(re34)', '[""]');
272 shouldBe('s1.match(re34)', '[""]');
273 shouldBe('s2.match(re34)', '[""]');
274 shouldBe('s3.match(re34)', '[""]');