[Bug libstdc++/79522] New: std::regex_match always returns false
jmichae3 at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Wed Feb 15 08:00:00 GMT 2017
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
More information about the Gcc-bugs
mailing list