Skip to content
  • Ahmad Samir's avatar
    Port one QRegExp to QRegularExpression · 4170e580
    Ahmad Samir authored
    Make the pattern non-greedy to match the behaviour or
    QRegExp::setMinimal(true).
    
    Don't iterate over the string manually,
    QString::replace(QRegularExpression) will constructs a
    QRegularExpressionMatchIterator internally and do that work.
    4170e580