Lines Matching refs:match
29 * @fileoverview Test String.prototype.match
34 var matchResult = input.match(regexp);
35 assertEquals(result, matchResult, name + "-match");
37 var match = input.substring(from, to);
45 assertEquals(match, lastMatch, name + "-match-string_g");
47 // Returns array of match and captures.
48 assertEquals(match, matchResult[0], name + "-match-string");
55 assertEquals(match, RegExp["$&"], name + "-$&");
56 assertEquals(match, RegExp.lastMatch, name + "-lastMatch");