REG_BADBR | CAUSE | The contents of 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. |
REG_BADPAT | CAUSE | regstr was an invalid regular expression. |
| ACTION | Specify a valid regular expression |
REG_BADRPT | CAUSE | regstr contained a ?, *, or + that was not
preceded by a valid regular expression. |
| ACTION | Make sure that every unquoted /, *, or + in regstr
is preceded by a valid regular expression. |
REG_EBRACE | CAUSE | regstr contained a \{\} imbalance. |
| ACTION | Make sure that all { and } characters and all \{
and \} characters appear in matched pairs in
regstr. |
REG_EBRACK | CAUSE | regstr contained a [] imbalance. |
| ACTION | Make sure that all [ and ] characters appear in
matched pairs in regstr. |
REG_ECOLLATE | CAUSE | regstr contained a reference to an invalid
collating element. |
| ACTION | Make sure that all collating elements referenced
in regstr are valid in the locale indicated by
LC_COLLATE. |
REG_ECTYPE | CAUSE | regstr contained a reference to an invalid
character class. |
| ACTION | Make sure that all character classes referenced in
regstr are valid in the locale indicated by
LC_CTYPE. |
REG_EESCAPE | CAUSE | regstr contained a trailing \. |
| ACTION | Remove the trailing \ or complete the escape
sequence. |
REG_ENEWLINE | CAUSE | A newline was found before the end of a pattern,
and the REG_ENEWLINE flag was not set. |
| ACTION | Set the REG_ENEWLINE flag, or check the pattern
for a missing /. |
REG_EPAREN | CAUSE | regstr contained a () or \(\) imbalance. |
| ACTION | Make sure that all ( and ) characters and all \(
and \) characters appear in matched pairs in
regstr. |
REG_ERANGE | CAUSE | A range expression contained an invalid endpoint.
For example, an equivalence or character class is
not valid. |
| ACTION | Specify a valid endpoint. |
REG_ESPACE | CAUSE | There were not enough free system resources for
regcomp() to compile regstr |
| ACTION | Free up more resources or specify a less complex
regular expression. |
REG_ESUBREG | CAUSE | The number in a \number construct was greater than
the number of matching subexpressions. |
| ACTION | Make sure that number is less than or equal to the
number of matching subexpressions. |
REG_EFATAL | CAUSE | An internal error occurred. |
| ACTION | Contact your system manager. |