Hi All,

Here is my first post after having used TW for almost 4 years. I use TW for 
note-taking and also as a hobby (trying to solve small 
challenges/algorithms).
Lately there has been something winding me up as I can not understand "why 
I am getting such results".
I have 4 tiddlers named as follows:

   - a/b
   - a/b/1
   - a/b/2
   - a/c/1

When I run the following filter "[prefix[a/]removeprefix[a/]] 
+[splitbefore[/]trim[/]]" in a Set or ListWidget, I am getting "b b c". 
WHY? I was expecting "b c".
When I add to the above filter "+[enlist-input[]]", I am still getting the 
same result (enlist-input behaves here as if I wrote enlist-input:raw).

However, if I write the following, it works correctly and gives me the 
expected result. WHY? Why do I need two "steps" and cannot make it in one 
single pass.
<$set name="r1" filter="[prefix[a/]removeprefix[a/]] 
+[splitbefore[/]trim[/]]" >
<$set name="toto" filter=<<r1>> >
<<toto>>
</$set></$set>

I know many WHYs but I guess there is something I dont correctly understand 
in the way filters run.

Thanks for your answers.
Will

-- 
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/3ea69c20-90e6-4c22-be4c-d2daec8fe03cn%40googlegroups.com.

Reply via email to