[InputFilter] Port QRegExp to QRegularExpression
ClosedPublic

Authored by ahmadsamir on Mar 26 2020, 7:53 PM.

Details

Summary

Port QRegExp::exactMatch() by using QRegularExpression::anchoredPattern().

Construct one QRE object to be reused inside e.g. a for loop.

For string concatenantion use QLatin1String where appropriate.

Test Plan

It compiles

Diff Detail

Repository
R7 Konversation
Branch
l-inputfilter (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 24292
Build 24310: arc lint + arc unit
ahmadsamir requested review of this revision.Mar 26 2020, 7:53 PM
ahmadsamir created this revision.
psn accepted this revision.Mar 27 2020, 5:28 AM
This revision is now accepted and ready to land.Mar 27 2020, 5:28 AM
This revision was automatically updated to reflect the committed changes.