Spontaneous thought (...at 4 a.m so possibly gobbledigook)

Replacing something is a pretty complex action. Still one that is doable 
using a wikitext macro consisting of various subfilters that split out the 
first part of the string, remove the out-string, append the chaing-in, 
append the rest of original, etc. (I did this in cherrypicker 
<http://cherrypicker.tiddlyspot.com/> and probably @ttention 
<http://attention.tiddlyspot.com/>)

Sooo... if the aim is to make a general operator... how about a "macro 
operator" that takes the filter run output at that point and uses it as 
input to a user made wikitext macro. The output is then passed on to the 
rest of the run. E.g:

\define foo() $input$bar (or maybe even just $$, i.e $$bar here)

[tag[grok]macro[foo]suffix[bar]] (gives some true result)


This would solve your need and just in general be a super powerful 
operator, AFAICT.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/55b54818-48b4-448a-a103-92b6b436ebd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to