Consider the following code.
std::regex re ("(qwe|asd|zxc)+");
std::cout << std::regex_match ("zxcqweasd", re) << std::endl;
When I use the cl
compiler program prints 1
and 0
if I use the g++
compiler.
Which std::regex
implementation is wrong?
I'm using g++
compiler version 4.7.2-5 and cl
compiler version 17.00.60610.1.