Free a compiled regular expression.
#include <regex.h> void regfree(regex_t *reg);
must point to an object where regcomp() stored a compiled regular expression.
regfree() frees any memory that was allocated by regcomp() when it compiled the regular expression associated with reg.
regcomp(), regexec(), regexp(3)