Skip to content

Improve QRegularExpression usage a bit

Waqar Ahmed requested to merge work/qregex-usage into master

No need to call optimize(), the pattern will compile with call to isValid() that is done in setMatchRegex.

Use static const for regexes where the pattern is fixed and will never change.

Merge request reports