Lines Matching defs:re
55 regex_t *re;
138 if (sp->re == NULL) {
145 re_compile(sp, sp->re, sp->re_len,
157 if (re_compile(sp, ptrn, t - ptrn, &sp->re,
167 re = &sp->re_c;
247 return (s(sp, cmdp, p, re, flags));
284 if (sp->re == NULL) {
288 if (!F_ISSET(sp, SC_RE_SEARCH) && re_compile(sp, sp->re,
298 * special cases, and general nastiness. Don't mess with it unless you're
305 * when the replacement is done. Don't change it unless you're *damned*
346 s(SCR *sp, EXCMD *cmdp, CHAR_T *st, regex_t *re, u_int flags)
468 re = &sp->re_c;
510 * the confirm routine we're likely to lose the cached copy.
556 eval = regexec(re, st + offset, 10, match, eflags);
566 re_error(sp, eval, re);
921 /* If we're replacing a saved value, clear the old one. */
932 * If we're saving the string, it's a pattern we haven't seen before,