REGWEXEC
switch ((result = REGWEXEC(resep, cp, 10, match, flags))) {
#define regmatch(rp, s) REGWEXEC(rp, s, 0, (REGWMATCH_T*)NULL, 0)
if (REGWEXEC(rp, text, 10, match, 0) == REG_OK) {