Usually regex libraries have a replace or sub function;
however, I could only find:
QRegularExpression::swap
QRegularExpressionMatch::swap
Is swap used for this purpose? I couldn't find any examples, or figure it out.
A basic example would be appreciated.