See the below code comes from Thomas Elmiger 
[https://tid.li/tw5/hacks.html#Extract%20Macro]

\define checkRest(rest,start,end,prefix,suffix,limit,rmQuotes,mode)
<$set name="text" value="""$rest$""">
<$list variable="beforeStart" filter="""[<text>splitbefore[$start$]]""">
   <$set name="proceed" filter="""[<beforeStart>removesuffix[$start$]] 
+[addsuffix[ç-TestPassed-ç]]""" 
emptyValue="es">
   <$set name="proceedto" 
filter="""[<proceed>removesuffix[ç-TestPassed-ç]regexp[es]]""" 
emptyValue="extractSnippet">
   <$list variable="newRest" filter="""[<text>removeprefix<beforeStart>]""">
      <$macrocall $name=<<proceedto>> rest=<<newRest>> start="""$start$""" 
end="""$end$""" prefix="""$prefix$""" suffix="""$suffix$""" limit="$limit$" 
rmQuotes='$rmQuotes$' mode="$mode$"/>
   </$list> 
   </$set>
   </$set>
</$list>
</$set>
\end


As you can see the  is a variable and then it has been called as a macro 
again! See below part of above code:

<$set *name="proceedto"* 
filter="""[<proceed>removesuffix[ç-TestPassed-ç]regexp[es]]""" 
emptyValue="extractSnippet">
   <$list variable="newRest" filter="""[<text>removeprefix<beforeStart>]""">
      *<$macrocall $name=<<proceedto>>*



   1. How this is possible with TW5?
   2. Is this a valid TW5 syntax?


- Mohammad

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/11d90e6e-eb68-44ec-9a94-c20e4e1d57c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to