compile_regex
static regex_t *compile_regex(char *pat)
static int compile_regex(const char *pattern, regex_t *regex)