28 Text processing library [text] (original) (raw)
Table 118 β error_type values in the C locale [tab:re.err]
πValue | Error condition |
---|---|
πerror_collate | The expression contains an invalid collating element name. |
πerror_ctype | The expression contains an invalid character class name. |
πerror_escape | The expression contains an invalid escaped character, or a trailing escape. |
πerror_backref | The expression contains an invalid back reference. |
πerror_brack | The expression contains mismatched [ and ]. |
πerror_paren | The expression contains mismatched ( and ). |
πerror_brace | The expression contains mismatched { and }. |
πerror_badbrace | The expression contains an invalid range in a {} expression. |
πerror_range | The expression contains an invalid character range, such as[b-a] in most encodings. |
πerror_space | There is insufficient memory to convert the expression into a finite state machine. |
πerror_badrepeat | One of *?+{ is not preceded by a valid regular expression. |
πerror_complexity | The complexity of an attempted match against a regular expression exceeds a pre-set level. |
πerror_stack | There is insufficient memory to determine whether the regular expression matches the specified character sequence. |