When the regular expression is invalid, boost::wrapexcept<boost::regex_error> is thrown and the program crashes. what() contains a useful error message.
When the regular expression is invalid, `boost::wrapexcept<boost::regex_error>` is thrown and the program crashes. `what()` contains a useful error message.
When the regular expression is invalid,
boost::wrapexcept<boost::regex_error>
is thrown and the program crashes.what()
contains a useful error message.