man regfree () - See regcomp.3posix

REFERENCE

See regcomp.3posix