MPE/iX Shell and Utilities Reference Manual, Vol 2

regerror(3) MPE/iX Shell and Utilities regerror(3)
NAME
regerror — regular expression error messages
DESCRIPTION
MPE/iX Shell and Utilities generates the following regular expression error messages
Message: { } or \{ \} imbalance
Code:
REG_EBRACE
Cause: You specified a regular expression that contained a {} or \{\} imbalance.
Action: Make sure that all { and } characters and all \{ and \} characters appear in
matched pairs in the regular expression.
Message: ( ) or \( \) imbalance
Code: REG_EPAREN
Cause: You specified a regular expression that contained a () or \(\) imbalance.
Action: Make sure that all ( and ) characters and all \( and \) characters appear in
matched pairs in the regular expression.
Message: [ ] imbalance or syntax error
Code:
REG_EBRACK
Cause: You specified a regular expression that contained a [] imbalance.
Action: Make sure that all [ and ] characters appear in matched pairs in the regular
expression.
Message: ?, *, or + not preceded by valid regular expression
Code:
REG_BADRPT
Cause: You specified a regular expression that contained a ?, *,or+ which was not
preceded by a valid regular expression.
Action: Make sure that every unquoted /, *,or+ in the regular expression is preceded
by a valid regular expression.
Message: contents of{}or\{\}invalid
Code:
REG_BADBR
Cause: The contents of \{\} or {} in the specified regular expression were invalid:
not a number, too large a number, more than two numbers, first number larger
than second.
Action: Make sure that the contents of \{\} or {} are valid.
Message: failed to match
Code: REG_ENOMATCH
Cause: There was no match found for the specified regular expression.
Action: Make sure that the regular expression was specified correctly.
Miscellaneous Information 3-29