{{!!list}} = [[A]] [[B]] [[C]]
<$set name="list-of-tiddlers" filter="[[C]] [[B]] [[A]]">
CODE comparing {{!!list}} with <<list-of-tiddlers>>
resulting in either <<match>> or <<no-match>>
</$set>
A possible trick, in a filter generate the titles in one and remove the title found in the other. Emptyvalue or emptymessage will mean a match, including when both are empty.
If not empty The result will be tiddlers not found in either list.
To simplify it use the subfilter operator for both sets of tiddler and try -[subfilter[name]
Eg untested
"[subfilter<myfilter>] -[subfilter{!!list}]"
Regards
Tony
{!!list}} = [[A]] [[B]] [[C]]
<$set name="check-list" filter="[[C]] [[B]] [[A]] +[sort[]]">
<$set name="check-field" filter="[all[current]list[]sort[]]">
<$list filter="[<check-list>] -[<check-field>]" emptyMessage="match">
no-match
</$list>
</$set>
</$set>
{{!!list}} = [[C A]] [[A C]] [[B B]] x
field CONTAINS list:
<$set name="check-list" filter="[[C A]] [[B B]] [[A C]]">
<$list filter="[enlist<check-list>] -[enlist{!!list}]" emptyMessage="MATCH">
NO-MATCH
</$list>
</$set>
[enlist<list-of-tiddlers>] -[enlist{!!list}]
{{!!list}} = [[C A]] [[A C]] [[B B]] y
<$set name="check-list" filter="[[C A]] [[B B]] [[A C]] x">
<$list filter="[enlist<check-list>] -[enlist{!!list}] ~[enlist{!!list}] -[enlist<check-list>]" emptyMessage="MATCH">
NO MATCH
</$list>
</$set>
~
before so I tried both ways (extra ~[[ brackets ]] around the ~ prefix, and both ways failed:<$set name="check-list" filter="[[C A]] [[B B]] [[A C]] x">
<$list filter="[enlist<check-list>] -[enlist{!!list}] ~[[enlist{!!list}] -[enlist<check-list>]]" emptyMessage="MATCH">
NO MATCH
</$list>
</$set>
\define check2()
<$list filter="[enlist{!!list}] -[enlist<check-list>]" emptyMessage="MATCH!">
UNMATCHED
</$list>
\end
<$set name="check-list" filter="[[C A]] [[B B]] [[A C]] ">
<$list filter="[enlist<check-list>] -[enlist{!!list}] +[limit[1]]" emptyMessage=<<check2>> >
UNMATCHED
</$list>
</$set>