Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Guardian Native C Library Calls (n - r) regcomp(3)
REG_BADRPT
The ?, *,or+ symbols are not preceded by a valid basic regular expression or an
extended regular expression.
REG_EBRACE
The use of a pair of \{ (backslash left brace) and \} (backslash right brace) or {}
(braces) is unbalanced.
REG_EBRACK
The use of [] (square brackets) is unbalanced.
REG_ECOLLATE
There is an unusable collating element referenced.
REG_ECTYPE
There is an unusable character class type referenced.
REG_EESCAPE
There is a trailing \ (backslash) in the pattern.
REG_EPAREN
The use of a pair of \( (backslash left parenthesis) and \) (backslash right
parenthesis) or ()(parentheses) is unbalanced.
REG_ERANGE
There was an unusable endpoint in the range expression.
REG_ESPACE
There is insufcient memory space.
REG_ESUBREG
The number in \digit is unusable or in error.
REG_NOMATCH
The regexec() function failed to match.
If the regcomp() function detects an illegal basic or extended regular expression, it may return
REG_BADPAT, or it may return an error code that more precisely describes the error.
The regerror() function returns the number of bytes required to store the message. This value
may be greater than the value of the errbuf_size parameter.
The regfree function does not return a value.
ERRORS
These functions do not set errno to indicate an error.
RELATED INFORMATION
Commands: grep(1).
527192-018 Hewlett-Packard Company 5103