VPL
As usual there are a number of ways to tackle any requirement in tiddlywiki
You can compare the output of the tags operator (each tag) with the actual
tags field, if they are the same there is one tag
<$list filter="[all[current]tags[]match{!!tags}]">
</$list>
but in your case
<$list filter="[[track]match{!!tags}]">
</$list>
Is this what you were after?
Other tricks include
- counting the number of tags with the count operator
- Other search, contains or comparison operators
Regards
Tony
On Thursday, March 19, 2020 at 8:35:29 AM UTC+11, vpl wrote:
>
> Hi guys
>
> I try to build a filter that matches only tiddlers that have one tag and
> this tag must have a specific name (in the example 'track')
>
> I've tried using the regexp on tags with the regex quantity operator {}
> but that does not work .. it returns also tracks with multiple tags (one of
> them beeing 'track')
>
> <$list filter="[regexp:tags[track{1}]sort[exp_date]reverse[]]">
>
> Any idea to save me ?
>
> Thanks for your help
>
> Regards
>
--
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/52c87f75-6917-470d-9878-98b0f62c65ec%40googlegroups.com.