Namespaces
Variants
Views
Actions

Talk:cpp/regex/regex replace

From cppreference.com

There is a problem with std::regex_replace, it does not compile as expected. No idea why...

-- Johan

If you are referring to the example on this page, it can be compiled with those compilers/libraries that implemented <regex>, such as clang++/libc++ (from 2009 or newer) and Visual Studio (2010 or newer). GNU g++/libstdc++ only got to it in version 4.9. --Cubbi (talk) 06:06, 2 December 2013 (PST)