On Monday, November 4, 2019 at 7:35:10 AM UTC-4, Ruslan Popov wrote:
>
> Hello, a newbie question.
>
> I would like to display a list of tags in a tiddler which match a certain
> name pattern, for example all tags which contain the word "done", or
> exclude certain tags by name.I am trying this:
>
> {{{ [all[current]tags[done]] ||$:/core/ui/TagTemplate}}}
>
> but it still displays all tags; and this:
>
> {{{ [all[current]tags[] + match[done]] }}}
>
> but it displays nothing.
>
> According to documentation, the "tags" operator doesn't have parameters.
> Yet in some examples I see it used like [tags[something]] - does it mean
> parameters are passed to it?
>
> Thank you
>
Try [all[current]tags[]regexp[done]].
You can do complex filtering with regexp but the syntax can get complex too.
https://www.regular-expressions.info/quickstart.html
/Mike
--
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/65ebe9e0-446b-4c60-8cc3-08c11095751f%40googlegroups.com.