std::string s = "select * form aaa \n /*mmmuuu*/ \n \n yuan hs";
boost::xpressive::sregex reg1 = boost::xpressive::sregex::compile("(\\n)|^(//.*? \\n\\s*)|(/\\*(.|\\n)*?\\*/\\s*)");
std::string sEx = boost::xpressive::regex_replace(s, reg1, "");
boost::xpressive::sregex reg1 = boost::xpressive::sregex::compile("(\\n)|^(//.*? \\n\\s*)|(/\\*(.|\\n)*?\\*/\\s*)");
std::string sEx = boost::xpressive::regex_replace(s, reg1, "");