Searched refs:regmatches (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10.1/nano-12/src/
H A Dutils.c287 * fill in the global variable regmatches with at most 9 subexpression
289 * whole match, so regmatches[0].rm_so == 0. */
304 if (regexec(&search_regexp, haystack, 1, regmatches,
305 0) == 0 && haystack + regmatches[0].rm_so <= start) {
306 const char *retval = haystack + regmatches[0].rm_so;
310 regmatches, REG_NOTBOL) == 0 &&
311 retval + regmatches[0].rm_so + 1 <= start)
312 retval += regmatches[0].rm_so + 1;
314 * variable regmatches. The REG_NOTBOL flag doesn't
316 regexec(&search_regexp, retval, 10, regmatches,
[all...]
H A Dsearch.c307 regmatches[0].rm_eo - regmatches[0].rm_so :
571 size_t search_match_count = regmatches[0].rm_eo -
572 regmatches[0].rm_so;
588 size_t i = regmatches[num].rm_eo - regmatches[num].rm_so;
600 openfile->current_x + regmatches[num].rm_so, i);
621 search_match_count = regmatches[0].rm_eo - regmatches[0].rm_so;
H A Dproto.h137 extern regmatch_t regmatches[10];
H A Dglobal.c204 regmatch_t regmatches[10]; variable

Completed in 127 milliseconds