| 67 | } |
| 68 | |
| 69 | MS_API_EXPORT(int) ms_regexec(const ms_regex_t *regex, const char *string, size_t nmatch, ms_regmatch_t pmatch[], int eflags) |
| 70 | { |
| 71 | /*This next line only works because we know that regmatch_t |
| 72 | and ms_regmatch_t are exactly alike (POSIX STANDARD)*/ |
| 73 | return regexec((const regex_t*)(regex->sys_regex), |
| 74 | string, nmatch, |
| 75 | (regmatch_t*) pmatch, eflags); |
| 76 | } |
| 77 | |
| 78 | MS_API_EXPORT(void) ms_regfree(ms_regex_t *regex) |
| 79 | { |
no outgoing calls
no test coverage detected