Add subseq operator to match sub-sequences

Authored by michaeleden on Jul 9 2018, 7:50 AM.

Description

Add subseq operator to match sub-sequences

Summary:
Added subseq and ~subseq operators which match subsequences of strings.
This is useful to filter out matches quicker:

$ ktraderclient5 --constraint "'libremath' ~subseq Name" --servicetype 'Application' --short
servicetype is : Application
constraint is : 'libremath' ~subseq Name
got 1 offers.
/nix/store/zq1kgdxk426qgf06nzpd7xqkpk4z5hh2-system-path/share/applications/math.desktop

Test Plan: I'll need help knowing where tests for this will go.

Reviewers: dfaure, Frameworks

Reviewed By: dfaure

Subscribers: kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
dfaureJul 9 2018, 7:52 AM
Reviewer
dfaure
Differential Revision
D13670: Add subseq operator to match sub-sequences
Parents
R309:7d5f0bf964e4: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.48.0 release.
Branches
Unknown
Tags
Unknown