Skip to content
Commit 4170e580 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port one QRegExp to QRegularExpression

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.
parent 7e766d14
Pipeline #184159 passed with stage
in 6 minutes and 1 second
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment