@Saq, I just realized a thing that I hope to ensure will work also when now 
building on your mods:

The trigger-end for, specifically, title picking is simple; it is just ]]

But there are many other cases where there are multiple trigger-ends. For 
example <$widget could end with </$widget> or /> or one might consider 
merely > to be the end (i.e to close the widget opening tag and then treat 
the closing tag separately). In my demo <http://editormagic.tiddlyspot.com/> it 
is handled by allowing the trigger-end field to be treated like a *list*, 
e.g

trigger-end: /> </$widget>

and the regexpification of it were

triggendexp={{{ [enlist{!!trigger-end}escaperegexp[]join[|]addprefix[(]
addsuffix[)+]split[\/]join[/]trim[]] }}}

This worked well in the demo. I do feel it is necessary to allow the end 
user to very easily define the trigger-ends so I was very happy to find 
this solution.

@Saq, do you already now see any potential problems for this to work?

Thank you.

<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/044683cd-ad4e-487c-82c9-319cdca40a8ao%40googlegroups.com.

Reply via email to