Matchtext for multiple words
Mark Smith
mark at maseurope.net
Wed Nov 29 17:13:39 EST 2006
Do you really need to do it with MatchText? Aren't <is in, is among
the words of> etc going to work? Or do you really need it to be a one-
liner?
Best,
Mark
ps. That's the third one ;-0
On 29 Nov 2006, at 21:39, 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?
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list