@TiddlyTweeter, 

I did find that it was not solved previously after all. Basically to not 
use escaperegexp is insufficient - but using escaperegexp puts 
escapecharacters on / characters where they should not be which also 
doesn't work! I think the escaperexep operator needs to be modified but I'm 
not sure how to formulate it.

Anyway, only thanks to your post (THANK YOU!) do I now have a filter that 
does it:

The field closures contains: /> </$

<$set name=esc
  value={{{ 
[enlist{!!closures}escaperegexp[]join[|]addprefix[(]addsuffix[)+]split[\/]join[/]]
 
}}}
>
 {{{ mystring +[regexp<esc>] }}}
</$set>

mystring can now contain either of /> or </$ and be accepted by the regexp 
operator.

Again, thank you TT!

<:-)

-- 
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/d584e47b-e237-46d9-ab58-a731c44b1bcao%40googlegroups.com.

Reply via email to