When I tried this, I got no output for either filter:

<$list filter="[!is[system] tag[MyTag]]" emptyMessage="Nothing #1"/>

<$list filter="[contains:bibliography[xyz] is[tiddler]]" 
emptyMessage="Nothing #2" />

output:

Nothing #1

Nothing #2

On Saturday, January 16, 2021 at 9:10:45 AM UTC-8 Soren Bjornstad wrote:

> Hi all,
>
> I know this filter is incorrect, as spaces are only allowed in between 
> filter runs, not between filter steps:
>
> [!is[system] tag[MyTag]]
>
> However, I haven't been able to figure out what exactly TiddlyWiki *does 
> *when 
> you insert a space in between filter steps. There is no error; instead it 
> tries to do *something* with the filter you provided. But I can't figure 
> out what that is.
>
> In the example above, the output is the same as just "[!is[system]]", so 
> my hypothesis was that everything after the space is ignored. But I quickly 
> ran across counterexamples, like this one:
>
> [contains:bibliography[xyz] is[tiddler]]
>
> This never returns *any* results, as far as I can tell, even though 
> either step alone would return many results.
>
> Is there any clear pattern for what happens, or should I just say that the 
> result is undefined <https://en.wikipedia.org/wiki/Undefined_behavior> if 
> you put a space there?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7744eaab-0fbe-441a-99ff-fef9dbe81733n%40googlegroups.com.

Reply via email to