Your regular expression quantity operator doesn't work because curly
brackets, angle brackets, and square brackets are reserved inside of
filters. To get around this, define the search inside of variables where
those bracket types are allowed. Here's an example searching for tiddler
searching for tiddlers tagged with only HelloThere on TiddlyWiki.com
<$vars myreg="(^HelloThere$){1}">
<$list filter="[tag[HelloThere]regexp:tags<myreg>]">
</$list>
</$vars>
On Wednesday, March 18, 2020 at 2:35:29 PM UTC-7, 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/6d44735f-9824-4f78-ac41-fd01b80ab660%40googlegroups.com.