> Now I want the list of the teaching resources for her, but the following and similar filters doesn't work:
> <$list filter="[[french]listed[courses]] +[[A2]listed[levels]]"/> The action of the plus sign is probably not what you are expecting. Ordinarily, each run of a filter expression starts out with the "source" tiddlers being those prevailing where the filter is being evaluated, which is normally equivalent to "[all[tiddlers]]". The plus sign causes the "source" tiddlers for the following run of filter operators to be the aggregate of all the results so far. So, in this case, including the plus sign makes the filter equivalent to: [[french]listed[courses][A2]listed[levels]] >> 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. It turns that I forgot to remove the regexp support before the end of the beta (I did add the new regexp filter operator which is intended to replace it). I think now we'll have to keep the existing support. > I think with proper set operators and/or variables which could hold sets, stuff like this could be enhanced. We're halfway there in 5.1.5. Variables can now contain lists, but there's not yet a syntax to retrieve a list from a variable and use it within a filter. Best wishes Jeremy On Sat, Nov 22, 2014 at 8:46 AM, Stephan Hradek <[email protected]> wrote: > > > Am Samstag, 22. November 2014 02:01:16 UTC+1 schrieb Tobias Beer: >> >> Hi Stephan, >> >> Works pretty well, I'd say. >> Lesson learned: Why use one list if you can nest two? ^_^ >> > > The problem with this is: The complexity is O(n^2). The inner list needs > to be executed for each member of the outer list again. > > I think with proper set operators and/or variables which could hold sets, > stuff like this could be enhanced. > > <!-- fictious example --> > > <$set name="outer" filter="[[french]listed[courses]]"> > > <$set name="inner" filter="[[A2]listed[levels]"> > > <$list filter="[all<outer>] & [all<inner>]"/> > > </$set> > > </$set> > > > > > > -- > 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. > -- Jeremy Ruston mailto:[email protected] -- 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.

