can anybody help me with this?
I have a string which contains N substrings, delimited by tags and I have to get ALL of the substrings. The string is like
Use rx.setMinimal(true) with .* to make it lazy:
rx.setMinimal(true)
.*
QRegExp rx("START.*END"); rx.setMinimal(true);
See the QRegExp::setMinimal docs:
Enables or disables minimal matching. If minimal is false, matching is greedy (maximal) which is the default.
false