1 // \0 is not a valid backref
12 n = regcomp(&r, pat, 0);
13 // standard allows REG_BADPAT for all pattern errors
14 if (n != REG_ESUBREG && n != REG_BADPAT) {
15 regerror(n, &r, buf, sizeof buf);
16 t_error("regcomp(%s) returned %d (%s) wanted REG_ESUBREG\n", pat, n, buf);