1 // [^aBcC] with REG_ICASE should match d,D but not a,A,b,B,c,C according to
2 // http://austingroupbugs.net/view.php?id=872
30 n = regcomp(&re, pat, REG_ICASE);
32 regerror(n, &re, buf, sizeof buf);
33 t_error("regcomp(\"%s\") failed: %d (%s)\n", pat, n, buf);
36 for (i = 0; t[i].s; i++) {
37 n = regexec(&re, t[i].s, 0, 0, 0);
39 regerror(n, &re, buf, sizeof buf);
40 t_error("regexec(/%s/, \"%s\") returned %d (%s), wanted %d\n",
41 pat, t[i].s, n, buf, t[i].n);