Re: [Clip] Re: Pre-release #2 of NoteTab 7.0 available
- Hi Dio,
> Wow. I'm elated by the introduction of regex support inYou're welcome :)
> ^$StrReplace()$. Thank you, Eric, for granting my primary wish!
> I notice that absence of option A doesn't seem to prevent swapping ofThis issue is now fixed in update #3.
> all matches. For example, if the task were to replace only the first
> occurence of repeated characters:
> ^!Set %x%=foo bar baa ^!Set %x%=^$StrReplace("(.)\1";"$1";"^%x%";R)$
> ^!Prompt ^%x%
> My output* is "fo bar ba" instead of anticipated "fo bar baa." Plain
> literal replacements don't heed the absence of A for me either.