smatch
if (smatch(s, p))
regmatch_t *smatch = &pmatch[URI_SCHEMESUBEXP];
if (smatch->rm_so == -1)
*schemep = strndup(str + smatch->rm_so, smatch->rm_eo - smatch->rm_so);
smatch(filelist);
void smatch (struct string_list *filelist);