REG_EXTENDED
#define REG_ICASE (REG_EXTENDED << 1)
= (cflags & REG_EXTENDED) ?
#define REG_ICASE (REG_EXTENDED << 1)
int flags = REG_EXTENDED;
ma->error = regcomp((regex_t *)ma->matchdata, match, REG_EXTENDED | REG_NOSUB | REG_NEWLINE | ((flags & SEARCH_NOCASE) ? REG_ICASE : 0));
reg_syntax_t syntax = ((cflags & REG_EXTENDED) ? RE_SYNTAX_POSIX_EXTENDED