I have a variable <<__chunk__>>  with e.g the value bar/ and need to find 
which tiddlers have a path field with where this value is a *suffix*. For 
example, I need to find the two tiddlers that have these respective path 
fields:

path: foo/bar/
path: frotz/bar/

It seems I must[1] use a regexp but I can't get this to work:

<$vars chunk="bar/">
<$vars reg="[<chunk>$]" >
<$list filter="""[all[tiddlers]regexp:path<reg>]""">
<$link/> {{!!path}}<br>
</$list>
</$vars>
</$vars>

(In actual use, the chunk variable is remote so it reads 
reg="[<__chunk__>$]" )

Is the regexp wrong? What to do? Better ideas?

Thank you!

<:-)

*Note*
[1] Using the filter operator <https://tiddlywiki.com/#filter%20Operator> for 
a subfilter does not work because the filter op has a bug 
<https://github.com/Jermolene/TiddlyWiki5/issues/5592>, i.e this does not 
work:

<$vars subfilter="[get[path]suffix<__chunk__>]">
{{{ [all[tiddlers]has[path]filter<subfilter>] }}}
</$vars>

-- 
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/a67f4d7a-e68a-4e72-ba02-b7b75d4a9673n%40googlegroups.com.

Reply via email to