QRegExp::setMinimal not a appropriate solution
-
Did you check out "QRegularExpression?":http://doc.qt.io/qt-5/qregularexpression.html
QRegExp is already supported in Qt 4 and known for some limitations. In Qt 5 QRegularExpression has been added to overcomce some of them AFAIK.