Filter operator questions
<$list filter="a b c" variable="x">
Match:<$list filter="[<x>prefix[b]]"/>
</$list>
Match: Match:b Match:
As seen, the output "Match" appears for all three variables where I only want the single "Match:b" as output.
To prevent this, I figure I can use the SetWidget
<$set filter="a b c" name="x">
Match:<$list filter="[<x>prefix[b]]"/>
</$set>
Match:
...but this makes x be a full "a b c" string, so no match.
Is there an "economic" way to convert a string into tiddler titles? Ideally some direct filter operator to just put like so
Match:<$list filter="[LISTIFY<x>prefix[b]]"/>
Must I use a regexp? It just seems like a basic problem. Or maybe I'm going about it the wrong way to begin with?
Side Question
Even more basic; How should I actually make the match comparison for the variable? The filter should only give true if <x> is fully equal to "b", not merely prefixed "b" as in my example.
Match:<$list filter="[<x>EXACTMATCH[b]]"/>
Thanx
<:-)