Hi Joshua, Thank you! Yes this is a solution albeit it is indirect! So, I understood there is not a direct inclusive all operator to these cases!
Some use cases are - delete a field if and only if all have that field - display list of title, if and only if all have modified today - change the caption to green if and only if all have non-empty caption --Mohammad On Friday, January 24, 2020 at 6:52:21 AM UTC+3:30, Joshua Fontany wrote: > > Mohammad, > > Hi! Eric and Thomas came up with a neat trick, let me dig it up. You will > want the new Search filter operator (it can take a regexp argument and thus > 'replaces' the old regexp operator). > > You will want to chain the operators and then test for equality by > 'minusing' one of the counts from the other. If they are equal, then the > "emptyMessage" is rendered. If theey are not equal, then a single item with > the Count variable is rendered... > > `<$list filter="[tag[myTag]count[]] > -[tag[myTag]search:title,tag,caption:regexp[myTerm]count[]]" > emptyMessage="TRUE"> > > FALSE > </$list>` > > > > https://groups.google.com/forum/#!msg/tiddlywiki/my9YIZEPGng/gekJsrw7BwAJ > > https://tiddlywiki.com/#search%20Operator > > Best, > Joshua F > > On Thursday, January 23, 2020 at 9:20:24 AM UTC-8, Mohammad wrote: >> >> Which Tiddlywiki operator is inclusive? >> >> By inclusive I mean all the input titles meet the filter conditions. >> >> For example I want to check if all tiddlers tagged with myTag has the >> word xx in their title? >> Or check if all tiddlers tagged with myTag has the field myfield? >> >> So the filter is empty if only one input title does not match the >> criteria. >> >> <$list filter="[tag[myTag]has[myfield]??"> ... >> >> >> >> In the same manner we can think about any filter. This now works by >> limit[1] means if only one input title meets the criteria! >> >> >> --Mohammad >> > -- 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/d1bb2595-c970-4fe8-800f-4d17ba83cbb4%40googlegroups.com.

