I am doing the following
std::string myregex = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$"
boost::regex re;
re.assign(regex_expr, boost::regex_constants::icase); //Problem - Breaks
Any suggestions on what might be wrong with the assign statement