Matchtext for multiple words

John Craig jc at
Wed Nov 29 18:57:46 EST 2006

Just experimaented with;

and got some success - further investigation needed.


J. Landman Gay wrote:
> 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?

More information about the Use-livecode mailing list