I also tried with

\define tag-names()
<$list filter="[[$:/temp/search]tags[]]" 
variable="tagName">tag[<<tagName>>]</$list>
\end

\define tag-filter()
[search{$:/temp/search}$(tagNames)$]
\end


<$set name="tagNames" value=<<tag-names>> >
<$list filter=<<tag-filter>>/>
</$set>


And I get this error:
Filter error: Unterminated regular expression in filter 
expression<#Filter%20error%3A%20Unterminated%20regular%20expression%20in%20filter%20expression>

El lunes, 14 de abril de 2014 18:46:36 UTC+2, Danielo Rodríguez escribió:
>
> Could someone explain me why this is not working?
>
> \define tag-names()
> <$list filter="[[$:/temp/search]tags[]]" 
> variable="tagName">tag[<<tagName>>]</$list>
> \end
> \define tag-filter()
> [search{$:/temp/search}<<tag-names>>]
> \end
>
> I tried executing the macro "alone" and this is what I got
> [search{$:/temp/search}tag[tag1]tag[tag2]]
>
> Wich is a correct filter. In fact if I paste it into a filter, it works.
> What am I doing wrong?
>
> Thanks in advance.
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to