Change from std::regex to boost::regex for compiling with MinGW/GCC