Open System Services Library Calls Reference Manual (G06.28+, H06.05+)

OSS Library Calls (n - r) regcomp(3)
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).|
527187-007 Hewlett-Packard Company 597