ap_pregcomp — compile a regular expression with automatic cleanup
regex_t *ap_pregcomp(pool *p, const char *pattern, int cflags)
Equivalent to regcomp()
, except that memory used
is automatically freed when the pool is destroyed and that the
regex_t *
argument to regcomp(
)
is created in the pool and returned, rather than being
passed as a parameter.