List of regular expression subroutines

The following subroutines handle regular expressions:

regcomp
Compiles a regular expression for comparison by the regexec subroutine.
regerror
Returns the error message, appropriate for the current locale, that corresponds to the error code returned by either the regcomp or regexec subroutine.
regexec
Compares a string with a compiled regular expression from a previous call to the regcomp subroutine.
regfree
Frees any memory allocated by a previous call to the regcomp subroutine.