User Tools

Site Tools


regexec

Table of Contents

# $EPIC: regexec.txt,v 1.3 2009/03/21 05:06:18 zwhite Exp $

Synopsis:

$regexec(<value returned by regcomp> <string>)

Technical:

Attempts to match a string against a pre-compiled regex.

See the regex page for more info.

Returns:

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.

History

This function first appeared in epic4-1.029.

regexec.txt · Last modified: 2009/06/02 15:52 (external edit)