Lines Matching refs:matchInfo
132 macro RETURN_NEW_RESULT_FROM_MATCH_INFO(MATCHINFO, STRING)
133 var numResults = NUMBER_OF_CAPTURES(MATCHINFO) >> 1;
134 var start = MATCHINFO[CAPTURE0];
135 var end = MATCHINFO[CAPTURE1];
144 start = MATCHINFO[j++];
146 end = MATCHINFO[j];
157 var matchInfo = %_RegExpExec(regexp, string, start, RegExpLastMatchInfo);
158 if (matchInfo !== null) {
160 if (REGEXP_STICKY(regexp)) regexp.lastIndex = matchInfo[CAPTURE1];
161 RETURN_NEW_RESULT_FROM_MATCH_INFO(matchInfo, string);
331 var matchInfo = DoRegExpExec(separator, subject, startIndex);
332 if (matchInfo === null || length === (startMatch = matchInfo[CAPTURE0])) {
336 var endIndex = matchInfo[CAPTURE1];
348 var matchinfo_len = NUMBER_OF_CAPTURES(matchInfo) + REGEXP_FIRST_CAPTURE;
350 var start = matchInfo[i++];
351 var end = matchInfo[i++];