https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79522
Bug ID: 79522 Summary: std::regex_match always returns false Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jmichae3 at yahoo dot com Target Milestone: --- #include <regex> #include <iostream> int main(int argc, char * argv[]) { std::cout<<std::regex_match("def",std::regex("abcdefg",std::regex_constants::extended))<<std::endl; return 0; } //output:0