Matchtext for multiple words

J. Landman Gay jacque at hyperactivesw.com
Wed Nov 29 16:39:19 EST 2006


Sorry if this comes through twice, I'm having trouble sending to the list.

I need a matchtext/regex that will tell me if all supplied words exist 
in a block of text, regardless of their order, and ignoring carriage 
returns.

For example, see if all these words:  dog dinosaur cat

exist in this text:

"The purple dinosaur inadvertently stepped on the cat.<cr>
The white dog howled."

Should return true. Is there such a thing?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list