Lines Matching refs:matchstate
65 } matchstate;
137 if (n > matchstate.nmatch)
139 if (!(matchstate.match = newof(matchstate.match, regmatch_t, n, 0)))
141 matchstate.nmatch = n;
143 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
155 *subi++ = matchstate.match[n].rm_so;
156 *subi++ = matchstate.match[n].rm_eo;
164 *sub++ = matchstate.match[n].rm_so;
165 *sub++ = matchstate.match[n].rm_eo;