Re: [tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-03-06 Thread Mohammad
Many thanks Jeremy! It seems I should read and process the replaceValue first and then pass it to SNR macro! By the way, I think this way I can handle control characters. Best wishes Mohammad On Wednesday, March 6, 2019 at 8:26:31 PM UTC+3:30, Jeremy Ruston wrote: > > Hi Mohammad > > Sorry I

Re: [tw5] Re: SNR: Search and Replace in Tiddler Fields

2019-03-06 Thread Jeremy Ruston
Hi Mohammad Sorry I missed your question in the thread. If you're trying to get a control character into a string for use in a regexp, you can use a construction like this: <$codeblock code={{{ [[%0a]decodeuricomponent[]addprefix[a]addsuffix[b]] }}}/> The idea is to express the character in