0

Is std::regex and std::tr1::regex totally compatible?

The former is available since C++11.

I want to migrate to std::regex.

I use MSVC 2012/2013.

linquize
  • 19,828
  • 10
  • 59
  • 83
  • Yes both are totaly compatible. And If you plan to migrate then just change the namespace from using namespace std::tr1 to using namespace std – Mantosh Kumar Mar 21 '14 at 10:04

1 Answers1

0

As far as I know, this is the same module, it was just moved from tr1 to std.

bosnjak
  • 8,424
  • 2
  • 21
  • 47