Lines Matching refs:regexp
179 * "(" <regexp> ")"
180 * Where: <regexp> is a selector regular expression. If this
188 * "s/" <regexp> "/" <text> "/" ["g"]
207 char *regexp, *startp, *endp = 0;
227 regexp = (char *) malloc((size_t) regexlen+1);
229 if (regexp) {
230 strncpy(regexp, startp, regexlen);
231 regexp[regexlen] = '\0';
237 if (!regcomp(&match_exp, regexp, REG_EXTENDED) &&
245 compile(regexp,
254 if (!re_comp(regexp) && re_exec(string))
259 free(regexp);
284 do_replacement(char *regexp, char *repl, int doall, char *in, char *out)
294 if (!regcomp(&match_exp, regexp, REG_EXTENDED)) {
330 compile(regexp,
580 /* Check the selection string against the regexp, if present. */