24 FUNCTION
int matchAnyLic(PGresult *result,
int numLics, regex_t *compRegex)
29 for (licNumb=0; licNumb < numLics; licNumb++)
31 licName = PQgetvalue(result, licNumb, 0);
32 if (0 == regexec(compRegex, licName, 0, 0, 0))
return 1;
FUNCTION int matchAnyLic(PGresult *result, int numLics, regex_t *compRegex)
Does this regex match any license name for this pfile?