version 1.28, 2008/10/16 16:34:32 |
version 1.29, 2009/08/07 03:30:56 |
|
|
return (p); |
return (p); |
} |
} |
*repp = xmalloc(sizeof(regex_t)); |
*repp = xmalloc(sizeof(regex_t)); |
if (p && (eval = regcomp(*repp, re, 0)) != 0) |
if (p && (eval = regcomp(*repp, re, Eflag ? REG_EXTENDED : 0)) != 0) |
err(COMPILE, "RE error: %s", strregerror(eval, *repp)); |
err(COMPILE, "RE error: %s", strregerror(eval, *repp)); |
if (maxnsub < (*repp)->re_nsub) |
if (maxnsub < (*repp)->re_nsub) |
maxnsub = (*repp)->re_nsub; |
maxnsub = (*repp)->re_nsub; |