57 int re_match(
const char* pattern,
const char* text);
int re_match(const char *pattern, const char *text)
Find matches of the txt pattern inside text (will compile automatically first).
Definition: re.c:74
struct regex_t * re_t
Typedef'd pointer to get abstract datatype.
Definition: re.h:48
re_t re_compile(const char *pattern)
Compile regex string pattern to a regex_t-array.
Definition: re.c:109
int re_matchp(re_t pattern, const char *text)
Find matches of the compiled pattern inside text.
Definition: re.c:79