Lines Matching refs:options
262 int options = 0; in regcomp() local
265 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS; in regcomp()
266 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE; in regcomp()
267 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL; in regcomp()
268 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE; in regcomp()
269 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8; in regcomp()
270 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP; in regcomp()
271 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY; in regcomp()
273 preg->re_pcre = pcre_compile2(pattern, options, &errorcode, &errorptr, in regcomp()
315 int options = 0; in regexec() local
322 if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; in regexec()
323 if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; in regexec()
324 if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY; in regexec()
366 0, options, ovector, (int)(nmatch * 3)); in regexec()