![]() |
Home | Libraries | People | FAQ | More |
boost::xpressive::regex_constants::error_type —
enum error_type { error_collate, error_ctype, error_escape, error_subreg, error_brack, error_paren, error_brace, error_badbrace, error_range, error_space, error_badrepeat, error_complexity, error_stack, error_badref, error_badlookbehind, error_internal };
Error codes used by the regex_error type
error_collateThe expression contained an invalid collating element name.
error_ctypeThe expression contained an invalid character class name.
error_escapeThe expression contained an invalid escaped character, or a trailing escape.
error_subregThe expression contained an invalid back-reference.
error_brackThe expression contained mismatched [ and ].
error_parenThe expression contained mismatched (and).
error_braceThe expression contained mismatched { and }
error_badbraceThe expression contained an invalid range in a {} expression.
error_rangeThe expression contained an invalid character range, for example [b-a].
error_spaceThere was insufficient memory to convert the expression into a finite state machine.
error_badrepeatOne of *?+{ was not preceded by a valid regular expression.
error_complexityThe complexity of an attempted match against a regular expression exceeded a pre-set level.
error_stackThere was insufficient memory to determine whether the regular expression could match the specified character sequence.
error_badrefAn nested regex is uninitialized.
error_badlookbehindAn attempt to create a variable-width look-behind assertion was detected.
error_internalAn internal error has occured.
| Copyright © 2003, 2004 Eric Niebler |