# $EPIC: regexec.txt,v 1.3 2009/03/21 05:06:18 zwhite Exp $
$regexec(<value returned by regcomp> <string>)
Attempts to match a string against a pre-compiled regex.
See the regex page for more info.
Returns 0 if the string is matched by the compiled pattern.
Returns non-zero for any error. The return code can be passed to regerror for specific information. Particularly, return value '1' means the pattern did not match the regular expression.
This function first appeared in epic4-1.029.