It is non-trivial string manipulation and eventually needs to be ported to QRegularExpression Better have a test for it