Bingo! Thanks fella. Blimey - it reminds me of learning batch, this! On Saturday, 20 July 2019 22:25:55 UTC+1, Mark S. wrote: > > When using the angle brackets (< and >) in a filter for variable > substitution, the brackets swap places with the original square ([ and ]) > brackets. So > your second filter should be like: > > filter="[regexp:tmap.edges<catID>]"> > > Good luck! > > On Saturday, July 20, 2019 at 2:13:49 PM UTC-7, MagoArcade wrote: >> >> Reading this would imply you can include variables in filters, but >> enclosing the variable name in "<>" However, my code is behaviour >> differently. >> >> This: >> >> ''For this Catagory:'' >> >> >> <$set name=catID value=087aa75e-ec77-4cd2-a774-c41c0ee52382> >> >> >> Var catID: <<catID>> >> >> >> <$list filter="[regexp:tmap.edges[087aa75e-ec77-4cd2-a774-c41c0ee52382]]" >> > >> >> >> </$list> >> >> ------------- >> >> Produces this: >> >> *For this Catagory:* >> >> Var catID: 087aa75e-ec77-4cd2-a774-c41c0ee52382 >> Idea.um.share screen shots >> TestTask3 >> TestUserTask >> TestUserTask2 >> Update ogz db User Action >> UserManager.AddUser >> UserManager.ImageUpload >> ------------------------------ >> >> >> (ie. results). Whilst this: >> >> Whilst this: >> >> >> ''For this Catagory:'' >> >> >> <$set name=catID value=087aa75e-ec77-4cd2-a774-c41c0ee52382> >> >> >> Var catID: <<catID>> >> >> >> <$list filter="[regexp:tmap.edges[<catID>]]"> >> >> >> </$list> >> >> ------------- >> >> Produces this: >> >> *For this Catagory:* >> >> Var catID: 087aa75e-ec77-4cd2-a774-c41c0ee52382 >> ------------------------------ >> >> >> >> (i,e. no results). >> >> How can this be so? >> >>
-- 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/07c4114c-146e-413c-bb7b-5371681b1fbb%40googlegroups.com.

