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@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.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to