Hi everybody,

Thanks for your answers!

\define myMacro() <$list filter=
> "[tag[resource]field:courses/$(course)$/field:level/$(level)$/]" />
>
> Can you please dissect this filter for me, especially the part after 
> [tag[resource]?
>
> Why the forward slashes in...
>
> /$(course)$/
>
 
Its something I learned once from Stephan, long ago. For me, it means “look 
in the field:courses to see if you find the content of the variable 
$(course)$”.


Isn't that the old regexp syntax that has been removed in 5.0.17?


Indeed. I didn't know it was supposedly removed, its why I use it, and it 
still works in 5.1.5-prerelease.


Does this work?
> <$list filter="[regexp:courses{Sara!!course}regexp:levels{Sara!!level}]"/>
>

Yes, it works if you add :
all[tiddlers]

 

> What about this?
> <$list filter="[[french]listed[courses]]">
> <$list filter="[[A2]listed[levels]field:title<currentTiddler>]">
>
> </$list>
>
> </$list>
> </$list>
> </$list>
>
My idea: In the outer lsit I get all tiddlers with french as course.
> In the inner list I get all tiddlers having level A2 + having the same 
> title as the outer list gave us.


Amazing! Its exactly what I've been looking for, trying myself nested 
lists, but I didn't find such a simple solution. 

Thanks all of you!

Alberto

-- 
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