Ciao Mark S. WHOAH! *Utterly BRILLIANT*. Its absolutely spot-on for what I need. It also seamlessly dealt with the tricky case of double quotes I couldn't figure out. Perfect for this kind of job. Can't thank you enough.
For readers who maybe not understand quite what is going on, Mark S. just worked on a bit of JavaScript that means the user now only needs to write this ... <$set name=test filter=" [list[!!text]regexps[#\w+\b]tolower[]] "> Rather than this (and more) ... <$set name=test filter=" [list[!!text]prefix[#]tolower[]] [list[!!text]prefix[#]removesuffix['s]tolower[]] +[!suffix['s]] [list[!!text]prefix[#]removesuffix[.]tolower[]] +[!suffix[.]] [list[!!text]prefix[#]removesuffix[...]tolower[]] +[!suffix[...]] [list[!!text]prefix[#]removesuffix[,]tolower[]] +[!suffix[,]] [list[!!text]prefix[#]removesuffix[;]tolower[]] +[!suffix[;]] [list[!!text]prefix[#]removesuffix[:]tolower[]] +[!suffix[:]] [list[!!text]prefix[#]removesuffix[!]tolower[]] +[!suffix[!]] [list[!!text]prefix[#]removesuffix[?]tolower[]] +[!suffix[?]] [list[!!text]prefix[#]removesuffix[--]tolower[]] +[!suffix[--]] [list[!!text]prefix[...#]removeprefix[...]tolower[]] +[!prefix[...]] [list[!!text]prefix[--#]removeprefix[--]tolower[]] +[!prefix[--]] "> This deserves the Batman theme tune: https://www.youtube.com/watch?v=kK4H-LkrQjQ&feature=youtu.be Buona Notte Josiah Mark S. wrote: > > I'm playing with version that does replacement with regexp. Based on > original regexp code with a couple of tweaks. Seems to work. > -- 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 post to this group, send email to [email protected]. 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/0e4ecf97-e23d-453d-af85-af40836b1ddb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

