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