This topic has not yet been rated - Rate this topic

regex_error Class

Reports a bad basic_regex object.

class regex_error
    : public std::runtime_error {
    explicit regex_error(regex_constants::error_code error);
    regex_constants::error_code code() const;

The class describes an exception object thrown to report an error in the construction or use of a basic_regex object.

Header: <regex>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.