The following functions are used for matching filename patterns and regular expressions:
Match a filename or path name
Compile the regular expression
Execute regular expression matching
Map error codes returned to error messages
Free memory allocated by the regcomp() function