#include <sys/types.h> #include <regex.h> void regfree(regex_t *preg);
regfree
frees any dynamically-allocated storage associated with
the compiled RE pointed to by preg. The remaining regex_t
is no longer a valid compiled RE and the effect of supplying it to
regexec
or regerror
is undefined.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.