[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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.