Searched refs:regmatch (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/editors/ |
D | sed.c | 145 regmatch_t regmatch[10]; member 753 if (G.regmatch[backref].rm_so != -1) { in do_subst_w_backrefs() 754 j = G.regmatch[backref].rm_so; in do_subst_w_backrefs() 755 while (j < G.regmatch[backref].rm_eo) in do_subst_w_backrefs() 769 j = G.regmatch[0].rm_so; in do_subst_w_backrefs() 770 while (j < G.regmatch[0].rm_eo) in do_subst_w_backrefs() 799 if (REG_NOMATCH == regexec(current_regex, line, 10, G.regmatch, 0)) { in do_subst_command() 812 int start = G.regmatch[0].rm_so; in do_subst_command() 813 int end = G.regmatch[0].rm_eo; in do_subst_command() 881 } while (regexec(current_regex, line, 10, G.regmatch, REG_NOTBOL) != REG_NOMATCH); in do_subst_command()
|
D | vi.c | 2715 regmatch_t regmatch[MAX_SUBPATTERN], *cur_match; in regex_search() local 2720 regmatch[0].rm_so = 0; in regex_search() 2721 regmatch[0].rm_eo = end_line(q) - q; in regex_search() 2722 if (regexec(preg, q, MAX_SUBPATTERN, regmatch, REG_STARTEND) != 0) in regex_search() 2725 found = q + regmatch[0].rm_so; in regex_search() 2726 *len_F = regmatch[0].rm_eo - regmatch[0].rm_so; in regex_search() 2738 cur_match = regmatch + (*t - '0'); in regex_search()
|