Lines Matching refs:options
274 int options = 0; in regcomp() local
277 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS; in regcomp()
278 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE; in regcomp()
279 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL; in regcomp()
280 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE; in regcomp()
281 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8; in regcomp()
282 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP; in regcomp()
283 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY; in regcomp()
285 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr, in regcomp()
327 int options = 0; in regexec() local
334 if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; in regexec()
335 if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; in regexec()
336 if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY; in regexec()
379 0, options, ovector, (int)(nmatch * 3)); in regexec()