1 // \0 is not a valid backref, it is undefined by the standard
2 // we treat such cases as literal char
13 n = regcomp(&r, pat, 0);
15 regerror(n, &r, buf, sizeof buf);
16 t_error("regcomp(%s) returned %d (%s) wanted 0\n", pat, n, buf);
18 n = regexec(&r, "a0", 0, 0, 0);
20 regerror(n, &r, buf, sizeof buf);
21 t_error("regexec(/%s/ ~ \"a0\") returned %d (%s), wanted 0\n",