Port QRegExp to QRegularExpression

Authored by ahmadsamir on Dec 24 2019, 3:15 PM.

Description

Port QRegExp to QRegularExpression

Summary:
Port QRegExp::exactMatch() with QRegularExpression::anchoredPattern().
Port QRegExp::Wildcard with QRegularExpression::wildcardToRegularExpression().
Note that QRegularExpression::wildcardToRegularExpression() returns an anchored
pattern.

Test Plan:
Using the filter bar in dolphin works as before.

All unit tests pass, except:

  • kfileitemmodeltest (which is unrelated AFAICS); it fails on master too
  • placesitemmodeltest, which fails on master too

Reviewers: Dolphin, elvisangelaccio, meven

Reviewed By: Dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: Dolphin

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

Details

Committed
ahmadsamirMay 6 2020, 9:37 AM
Reviewer
Dolphin
Differential Revision
D26215: Port QRegExp to QRegularExpression
Parents
R318:37deaaef2c39: Merge branch 'release/20.04'
Branches
Unknown
Tags
Unknown