Lines Matching defs:match
29 * match shell file patterns
63 regmatch_t* match;
68 * subgroup match
69 * 0 returned if no match
71 * match group begin offsets are even elements of sub
72 * match group end offsets are odd elements of sub
128 if (!(matchstate.match = newof(matchstate.match, regmatch_t, n, 0)))
132 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
140 *sub++ = matchstate.match[n].rm_so;
141 *sub++ = matchstate.match[n].rm_eo;
148 * returns 1 for match 0 otherwise
158 * leading substring match
160 * 0 returned if no match
168 int match[2];
170 return strgrpmatch(s, p, match, 1, (flags ? STR_MAXIMAL : 0)|STR_LEFT) ? (char*)s + match[1] : (char*)0;