SE_MAX
regmatch_t rm[SE_MAX];
if (!regexec(pat, txt, SE_MAX, rm, 0)) {
&& !regexec(pat, txt, SE_MAX, rm, REG_NOTBOL));