I made a program on MacOS, but now I want to make it compatible with Windows. So I compiled my libraries in Windows, created a Code::Blocks project, and starting adapting some functions and variables that don't suit to Windows.
But there is a function that I don't understand why it doesn't work, regex_replace(). #include didn't give an error. Notice that the first time I compiled it, told me to add "-std=gnu++11" to my compiler options. Here is my function: