Should the scope of WholeMatches be expanded?
paul at researchware.com
Thu Aug 8 18:47:28 EDT 2019
On 8/8/2019 5:18 PM, Dr. Hawkins via use-livecode wrote:
> On Aug 5, 2019, at 7:43 AM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
>> I'd like to see wholeMatches apply to:
> Gee, that would do just what I need in searches . . . and the check is already there, and applies in the IDE search/replace feature . . .
> hmmm . . .
> set the whole matches to true
> repeat while wordOffset(searchText, theSearchStrng) > 0
> put replacmentText into word wordOffset(searchText, theSearchStrng) of theSearchString
> end repeat
Except in the replacement searching I'd like to do, I am searching and
replacing phrases bounded by white space (tab, space, non-breaking
space, line break, etc.) so wordOffset will not work for me.
More information about the Use-livecode