Matabele Thanks for the example. I tried out "Checklist Example -- Select by ANDing Tags". Although I can't say that I understood the use of prefixes, the example appeared to perform a similar action as a [tag[A]tag[B]] filter. It also found the additional test tiddler tagded with A, B, and C.
Steve Wharton Checklist Example -- Select by ANDing Tags On Wednesday, November 30, 2016 at 2:56:41 AM UTC-5, Matabele wrote: > > Hi > > There are a few examples of selecting by tag combinations here > <http://checklist.tiddlyspot.com/>. > > regards > > On Tuesday, 29 November 2016 05:00:06 UTC+2, steve wrote: >> >> Hi: >> >> Does anyone know of a way to do an exact tag match, i.e., there is a one >> to one correspondence between the tags specified in the filter and the >> matching tiddlers. >> >> For example for tidders Tom (tagged A), Dick (tagged A, B) and Harry >> (tagged A, B and C), a filter search for [tag[A]] would return Tom (but not >> Dick or Harry) and a filter search for [tag[A]tag[B]] would return Dick >> (but not Harry). The only way that I can think of so far would be to use >> javascript to compare the contents of the tags field. >> >> The use case is to be able to generate a list of matching tiddlers for >> each unique group of tags. I have a macro to do this by first doing sorting >> the tags in place for each tiddler; sorting the tiddlers by the tags field >> (i.e., sort[tags]); and then listing each tiddler name followed by its >> corresponding tag pills. I am trying to stretch my tiddlywiki horizons by >> finding a way to do this while listing each unique combination of tags only >> once followed by list of tiddlers that have that exact combination of tags. >> >> Thanks >> Steve >> >> >> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d1c43335-265c-489c-a66a-79c6292abbd1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.