Lines Matching refs:match
81 regmatch_t *match; variable
389 if (lastempty || match[0].rm_so != match[0].rm_eo) { in substitute()
391 re_off = match[0].rm_so; in substitute()
399 if (match[0].rm_so != match[0].rm_eo) { in substitute()
400 s += match[0].rm_eo; in substitute()
401 slen -= match[0].rm_eo; in substitute()
404 if (match[0].rm_so < slen) in substitute()
405 cspace(&SS, s + match[0].rm_so, 1, in substitute()
407 s += match[0].rm_so + 1; in substitute()
408 slen -= match[0].rm_so + 1; in substitute()
418 if (match[0].rm_eo == match[0].rm_so) in substitute()
419 match[0].rm_eo = match[0].rm_so + 1; in substitute()
420 s += match[0].rm_eo; in substitute()
421 slen -= match[0].rm_eo; in substitute()
430 re_off = match[0].rm_so + ((uintptr_t)s - (uintptr_t)ps); in substitute()
436 s += match[0].rm_eo; in substitute()
437 slen -= match[0].rm_eo; in substitute()
656 match[0].rm_so = 0; in regexec_e()
657 match[0].rm_eo = slen; in regexec_e()
660 nomatch ? 0 : maxnsub + 1, match, eflags | REG_STARTEND); in regexec_e()
705 } else if (match[no].rm_so != -1 && match[no].rm_eo != -1) { in regsub()
706 len = match[no].rm_eo - match[no].rm_so; in regsub()
708 (void) memmove(dst, string + match[no].rm_so, len); in regsub()