Lines Matching refs:options
271 int options = 0; in regcomp() local
274 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS; in regcomp()
275 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE; in regcomp()
276 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL; in regcomp()
277 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE; in regcomp()
278 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8; in regcomp()
279 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP; in regcomp()
280 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY; in regcomp()
282 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr, in regcomp()
324 int options = 0; in regexec() local
331 if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; in regexec()
332 if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; in regexec()
333 if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY; in regexec()
375 0, options, ovector, (int)(nmatch * 3)); in regexec()