N_MATCH
regmatch_t pmatch[N_MATCH];
ret = regexec((const regex_t *)®, string, N_MATCH, pmatch, 0);