Hi Guys

Thanks a lot both of you for your quick support

I've just tested the regexp approach and it works !
Thanks a lot

Regards


Le jeudi 19 mars 2020 01:35:27 UTC+1, Mark S. a écrit :
>
> 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/7e1efe42-e34e-4643-b9aa-7a55b4e8784a%40googlegroups.com.

Reply via email to