summaryrefslogtreecommitdiff
path: root/apps/tagtree.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-03-19 02:15:35 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-03-19 02:24:14 -0400
commitddbca125a61ae25ffd0acb782d585b9318f4d072 (patch)
treea60330931cb555bd01230815dfcb210d31d30b0d /apps/tagtree.c
parent0f2d62321663d3f8942bf4cfba31c8dfa17efb61 (diff)
downloadrockbox-ddbca125a61ae25ffd0acb782d585b9318f4d072.tar.gz
rockbox-ddbca125a61ae25ffd0acb782d585b9318f4d072.zip
tagtree/tagcache add new clause operators begins/ends _oneof
new operators @^, @$ begins_oneof and ends_oneof albumartist @^ "L|The L" Led Zeppelin, The look albumartist @$ "girls|Boys" spice girls, beasty boys Change-Id: I26ce3d8155d970a55e003f74e2f9478db76204f1
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r--apps/tagtree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 48ef1e28ce..9fb2172e57 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -418,6 +418,8 @@ static int get_clause(int *condition)
418 CLAUSE('!', '^', clause_not_begins_with), 418 CLAUSE('!', '^', clause_not_begins_with),
419 CLAUSE('$', ' ', clause_ends_with), 419 CLAUSE('$', ' ', clause_ends_with),
420 CLAUSE('!', '$', clause_not_ends_with), 420 CLAUSE('!', '$', clause_not_ends_with),
421 CLAUSE('@', '^', clause_begins_oneof),
422 CLAUSE('@', '$', clause_ends_oneof),
421 CLAUSE('@', ' ', clause_oneof) 423 CLAUSE('@', ' ', clause_oneof)
422 }; 424 };
423 425