convert from regex_t to std::regex