I think there's a way to do this easily assuming:
- You don't mind pressing a button to update results. - None of your tags has a space (this may not be essential) - You don't mind hand crafting the tag/label you're looking for. See below See code below. I added "About" and "Widgets" to some tiddlers at tiddlywiki.com for my tests. First you press a button that will create a field "aratags" that puts the list of sorted tag values for each tiddler into it's own field. I have to do this because the original tag values are not stored sorted. Then, in the list below, the code filters for aratags field with hand-crafted contents "About Widgets". Only tiddlers matching this exact criteria are selected. Have fun, Mark <$button> <$list filter="[tag[About]tag[Widgets]]"> <$action-listops $field="aratags" $filter="[all[current]tags[]sort[]]"/> </$list> Populate array </$button> <$list filter="[field:aratags[About Widgets]]"/> On Monday, November 28, 2016 at 7:00:06 PM UTC-8, 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 [email protected]. To post to this group, send email to [email protected]. 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/ca61026f-5401-444f-9160-661aa8be8d64%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

