[InputFilter] Port QRegExp to QRegularExpression

Authored by ahmadsamir on Feb 26 2020, 9:12 PM.

Description

[InputFilter] Port QRegExp to QRegularExpression

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

Reviewers: Konversation, psn, hein

Reviewed By: Konversation, psn

Differential Revision: https://phabricator.kde.org/D28319

Details

Committed
ahmadsamirMar 27 2020, 8:26 AM
Reviewer
Konversation
Differential Revision
D28319: [InputFilter] Port QRegExp to QRegularExpression
Parents
R7:461c7dd50429: Add missing includes
Branches
Unknown
Tags
Unknown