replace QRegExp with QRegularExpression(aka QRegEx)