Lines Matching defs:edit
36 struct edit
38 struct edit* next;
46 struct edit* edit;
262 struct edit* edit;
550 for (edit = map->edit; edit; edit = edit->next)
551 if (!(i0 = regexec(&edit->re, p, elementsof(match), match, 0)))
554 if (i0 = regsubexec(&edit->re, p, elementsof(match), match))
555 regfatal(&edit->re, 3, i0);
556 p = edit->re.re_sub->re_buf;
557 if (edit->re.re_sub->re_flags & REG_SUB_STOP)
561 regfatal(&edit->re, 3, i0);
1917 edit = 0;
1925 if (edit)
1926 edit = edit->next = newof(0, struct edit, 1, 0);
1928 edit = map->edit = newof(0, struct edit, 1, 0);
1929 if (!(i0 = regcomp(&edit->re, s, REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL)) && !(i0 = regsubcomp(&edit->re, s += edit->re.re_npat, NiL, 0, 0)))
1930 s += edit->re.re_npat;
1932 regfatal(&edit->re, 3, i0);