2023-07-06

setMinimal equivalent in QRegularExpression

I am porting some Qt5 code to Qt6, which requires switching QRegExp to QRegularExpression. The Qt5 code uses the setMinimal(bool minimal) method of QRegExp. Is there an equivalent PatternOption in Qt6?

I see a QRegularExpression::InvertedGreedinessOption PatternOption, but I don't really understand if this is equivalent.



No comments:

Post a Comment