Lines Matching refs:match
83 regmatch_t *match; variable
403 if (lastempty || match[0].rm_so != match[0].rm_eo) { in substitute()
405 re_off = match[0].rm_so; in substitute()
413 if (match[0].rm_so != match[0].rm_eo) { in substitute()
414 s += match[0].rm_eo; in substitute()
415 slen -= match[0].rm_eo; in substitute()
418 if (match[0].rm_so < slen) in substitute()
419 cspace(&SS, s + match[0].rm_so, 1, in substitute()
421 s += match[0].rm_so + 1; in substitute()
422 slen -= match[0].rm_so + 1; in substitute()
432 if (match[0].rm_eo == match[0].rm_so) in substitute()
433 match[0].rm_eo = match[0].rm_so + 1; in substitute()
434 s += match[0].rm_eo; in substitute()
435 slen -= match[0].rm_eo; in substitute()
444 re_off = match[0].rm_so + ((uintptr_t)s - (uintptr_t)ps); in substitute()
450 s += match[0].rm_eo; in substitute()
451 slen -= match[0].rm_eo; in substitute()
670 match[0].rm_so = 0; in regexec_e()
671 match[0].rm_eo = slen; in regexec_e()
674 nomatch ? 0 : maxnsub + 1, match, eflags | REG_STARTEND); in regexec_e()
719 } else if (match[no].rm_so != -1 && match[no].rm_eo != -1) { in regsub()
720 len = match[no].rm_eo - match[no].rm_so; in regsub()
722 (void) memmove(dst, string + match[no].rm_so, len); in regsub()