GNU regex fails to match
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);
what's wrong in my code ?