D13670: Add subseq operator to match sub-sequences
Michael Eden
noreply at phabricator.kde.org
Fri Jun 22 05:18:11 UTC 2018
michaeleden created this revision.
michaeleden added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
michaeleden requested review of this revision.
REVISION 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.
REPOSITORY
R309 KService
BRANCH
feature/match-subseq
REVISION DETAIL
https://phabricator.kde.org/D13670
AFFECTED FILES
src/services/ktraderparse.cpp
src/services/ktraderparse_p.h
src/services/ktraderparsetree.cpp
src/services/ktraderparsetree_p.h
src/services/lex.l
src/services/yacc.y
To: michaeleden, dfaure
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180622/3999b02d/attachment.html>
More information about the Kde-frameworks-devel
mailing list