Replaces some boost::regex calls with std::regex in order to not depend on the boost::regex library.
boost::regex
std::regex