Format
std::regex_replace
and std::match_results.format
in combination with capture groups enables you to format text. You can use a format string together with a placeholder to insert the value.
Here are both possibilities:
std::regex_replace
and std::match_results.format
in combination with capture groups enables you to format text. You can use a format string together with a placeholder to insert the value.
Here are both possibilities: