[post edit: Please disregard this post as it turned out to oversimplify the actual problem so it doesn't make sense.]
Beyond my control, the user defines a filter like
[suffix[berry]] [tag[tasty]] (could be many more, and more complex)
This is to be applied to my list of fruits'n berries, where some of them are tagged "tasty".
How? Here's the problem shown:
{{{ tastyapple blueberry rottenbanana lingonberry <inserted-userfilter> }}}
The output should be: tastyapple blueberry lingonberry
It no worky because
1) the user filter consists of multiple parts so even if I put a "+" before the user filter it wouldn't distribute to the [tag[tasty]] part
2) the original fruit list should be, again, filtered in full by that second filter.
It seems the user filter must itself be treated like a list of elements... but is that even possible?
<$list filter="[suffix[berry]] [tag[tasty]]" variable=part>
<$list filter="tastyapple blueberry rottenbanana lingonberry +[<part>]">
<$list>
<$list>
The problem here is of course that the "[suffix[berry]] etc" will be evaluated and not treated as merely a string.
Can I make it be treated like a string? ...but more importantly, should I? The actual problem is the former, not the latter.
Thank you!
<:-)