Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:subject

174                       subject,
181 assertEquals(result_expectation, subject.replace(regexps[i], replacement));
182 if (subject.length == 0) {
194 subject,
201 assertNull(subject.match(regexps[i]));
203 assertArrayEquals(result_expectation, subject.match(regexps[i]));
205 if (subject.length == 0) {
219 var subject = "";
224 subject += "a11";
231 test_replace(test_1_expectation, subject, /a1/g, "x");
235 test_replace(test_1_expectation, subject, /a1/g, f);
238 test_replace(test_2_expectation, subject, /a1/g, "");
241 test_match(test_3_expectation, subject, /a1/g);
250 var subject = "ascii~only~string~here~";
252 var result = subject.replace(/~/g, replacement);