REG_OK
if ((n = REGWCOMP(&np->n_regexp, s)) != REG_OK) {
return (REG_OK);
if (ret != REG_OK)
if (i == REG_OK && nsub > 0 && mbsub) {
while ((regerr = int_regwexec(rp, ip, NSUB, rm, flags)) == REG_OK) {
if (regerr != REG_OK && regerr != REG_NOMATCH)
return ((oglob == 0) ? REG_NOMATCH : REG_OK);
case REG_OK:
if (regmatch(np->n_regexp, linebuf) == REG_OK)
if (regmatch(getregexp(np->n_right), cp) == REG_OK)
if (regmatch(getregexp(np->n_right), cp) != REG_OK)
if ((n = REGWCOMP(&re, np->n_string)) != REG_OK) {
case REG_OK:
if (REGWEXEC(rp, text, 10, match, 0) == REG_OK) {
if ((rv = regexec(rep, str, SEPSIZE, prm, flags)) != REG_OK) {
if (rv == REG_OK) {