Lines Matching refs:regexp
180 * "(" <regexp> ")"
181 * Where: <regexp> is a selector regular expression. If this
189 * "s/" <regexp> "/" <text> "/" ["g"]
208 char *regexp, *startp, *endp = 0;
228 regexp = (char *) malloc((size_t) regexlen+1);
230 if (regexp) {
231 strncpy(regexp, startp, regexlen);
232 regexp[regexlen] = '\0';
238 if (!regcomp(&match_exp, regexp, REG_EXTENDED) &&
246 compile(regexp,
255 if (!re_comp(regexp) && re_exec(string))
260 free(regexp);
285 do_replacement(char *regexp, char *repl, int doall, char *in, char *out)
295 if (!regcomp(&match_exp, regexp, REG_EXTENDED)) {
331 compile(regexp,