I have developed a dumping filter operator to check what is the tubes 
inside a filter.

This has shown me that I was just wrong about what the operators were doing.

So, I'm killing this thread here. Don't bother about it!

Le jeudi 29 avril 2021 à 13:25:39 UTC+2, Jean-Pierre Rivière a écrit :

> I have some problem with subfilters. I will directly give a simple context 
> where my problem arise.
>
> I have dictionary tiddler named "dico" with 3 indexed value:
> a: a1^bazaar
> b: b1^advance
> c: c1^alert
>
> now comes a testing code within another tiddler:
> =================
> <$vars partafter="[indexing[dico]split[^]last[]]"
> es="[indexing[dico]split[^]search[e]]"
> nocs="[indexing[dico]split[^]!search[c]]"
> effect="[indexing[dico]]"
> >
>
> for the effect of indexing:
>
> * single value : {{{ [[a]indexing[dico]] }}}
> * list of values: <$list 
> filter="[[dico]indexes[]subfilter<effect>addprefix[ * ]]"/>
>
> first task: getting the indexes listed according to the part after "^". 
> (b,c,a wanted)
>
> <$list filter="[[dico]indexes[]sortsub<partafter>]"/>
>
> second task: get rid of indexes whose part after the "^" contains any "e" 
> (b,c wanted)
>
> <$list filter="[[dico]indexes[]filter<es>]"/>
>
> third task: get rid of indexes whose part after the "^" doesn't contain 
> any "c" (a,c wanted)
>
> <$list filter="[[dico]indexes[]filter<nocs>]"/>
>
> fourth task: just display the part after the "^" for each entry : 
> (bazaar,advance,alert wanted)
>
> <$list filter="[[dico]indexes[]subfilter<partafter>]"/>
>
> </$vars>
> =================
>
> I have included the json export of my indexing.js tiddelr providing thi 
> "indexing" filter (which is a must-have for me).
>
> to sum up: sortsub works as you understand it should.
>
> filter seems problematic with regards to the third objective going wrong. 
> is that an effect of negation?
>
> subfilter seems broken as the "last" filter op operate on the whole not on 
> every sequences.
>
> So my question is: what are my errors? what did I do wrong?
>
> TIA!
>
> -- 
> Jean-Pierre
>

-- 
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/2e08fe7e-13c5-4d0f-9266-4072ed147a96n%40googlegroups.com.

Reply via email to