Hi everyone,
I’m trying to create a template to show all the tasks for today, I use the journal title as YYYY-0MM-0DD
and i would like to filter something like this [sameday:schedule[search-replace:g[-],[]]]
if I hardcode the title it works [sameday:schedule[20210816]]
Dasvidb
Without giving and testing a solution try a minor edit
schedule[
should read;
schedule
Which possibly means
g[-],[]]]
should read
g[-],[]]
Regards
Tones
I believe that the problem is with the replacement part
I’m trying to use the same example as the documentation
https://tiddlywiki.com/#search-replace%20Operator%20(Examples)
<$wikify name=“result” text="{{{ [[The quick brown fox jumps over the lazy dog]search-replace[dog],[cat]] }}}" >
<$text text=<> />
</$wikify>
but it’s not working, I’m missing something with the search-replace
Hi everyone,
I’m trying to create a template to show all the tasks for today, I use the journal title as YYYY-0MM-0DD
OK
and i would like to filter something like this [sameday:schedule[search-replace:g[-],[]]]
The easiest way to test this is, to put it into the advanced search Filter tab: [sameday:scedule[2021-08-16]search-replace:g[-],[]]
As you found out the the hardcoded version works… Now we need to replace [2021-08-16] with the variable.
I becomes this: [sameday:scedulesearch-replace:g[-],[]] … Just a bit different to your code. But it should work.
-mario
Hi,
I deleted my first post, since I didn’t read your post good enough.
Try this:
<$set name=expression filter="[search-replace:g[-],[]]">
-
<$list filter="[sameday:scedule]">
- <$link/>
-mario
“scedule” needs to be schedule
Not being able to edit really sucks.
-m
thanks, i also notice that i was using version 5.1.22 after updating to 5.1.23 its working