Switched from std::regex to boost::regex, otherwise it will not compile on any stable compiler version