QRegExp::setMinimal not a appropriate solution
some part need minimal match, while other need not minimal match,
under this situation, QRegExp::setMinimal is not suitable to use.
why not qt support standard "+?" to indicator a minimal match?
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.