Replace
std::regex_replace
replaces sequences in a text matching a text pattern. It returns in the simple form std::regex_replace(text, regex, replString)
its result as string. The function replaces an occurrence of regex
in text
with replString
.
In addition to the simple version, C++ has a version of std::regex_replace
working on ranges. It enables you to push...