| 63 | } |
| 64 | |
| 65 | boolean |
| 66 | regex_compile(const char *s, struct nhregex *re) |
| 67 | { |
| 68 | if (!re) |
| 69 | return FALSE; |
| 70 | if ((re->err = regcomp(&re->re, s, REG_EXTENDED | REG_NOSUB))) |
| 71 | return FALSE; |
| 72 | return TRUE; |
| 73 | } |
| 74 | |
| 75 | char * |
| 76 | regex_error_desc(struct nhregex *re, char *errbuf) |
nothing calls this directly
no outgoing calls
no test coverage detected