标签: c++ regex gnu
GNU正则表达式无法匹配
string st = "ABCDAZEA"; cout<<"S:\t"<<st<<endl; std::regex expr("[A-Z]+", std::regex::extended ); std::smatch matches; std::regex_search(st, matches, expr); cout<<"found "<<matches.size()<<endl; fflush (stdout);
我的代码有什么问题?