replace Regex class with std::regex