REG_EXTENDED
if (regcomp(&yes, nl_langinfo(YESEXPR), REG_EXTENDED|REG_NOSUB) != 0)
if (regcomp(&no, nl_langinfo(NOEXPR), REG_EXTENDED|REG_NOSUB) != 0) {
#define REG_ICASE (REG_EXTENDED << 1)
rc = regcomp(&re_regexp, s, REG_EXTENDED);
if (regcomp(®ex, pattern, REG_EXTENDED) != 0)
regcomp(&_regex, _re.c_str(), REG_EXTENDED | REG_NOSUB | REG_ICASE);
#if (REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL)) || !defined(REG_EXTENDED)
i = REG_EXTENDED != 0;
#if !(REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL))
#ifdef REG_EXTENDED
if (REG_EXTENDED != 0 && (test & TEST_BRE))
#ifdef REG_EXTENDED
flags = cflags | REG_EXTENDED;
#ifndef REG_EXTENDED
(&mask_rex, "(0x[0-9a-fA-F]*) *([_a-zA-Z0-9]*)", REG_EXTENDED)) {
REG_NEWLINE | REG_EXTENDED)) != 0) {
regexp_flags |= REG_EXTENDED;
REG_EXTENDED|REG_NOSUB) != 0) {
REG_EXTENDED|REG_NOSUB) != 0) {
int mode = REG_EXTENDED;
REG_EXTENDED|REG_NEWLINE);
static int cflags = REG_EXTENDED;
rflags = REG_EXTENDED;
if (regcomp(&re, sregexp, REG_EXTENDED) != 0)
if (regcomp(&re, sregexp, REG_EXTENDED) != 0)
if (regcomp(&rgx, optarg, REG_EXTENDED|REG_NOSUB) != 0)
if ((i = regcomp(&re, MANWHEREISMATCH, REG_EXTENDED)) != 0) {
REG_EXTENDED|REG_NOSUB))
regcomp(&cre, nl_langinfo(YESEXPR), REG_EXTENDED) != 0) {