Matchtext for multiple words
jc at spl21.net
Wed Nov 29 17:36:52 CST 2006
Although you can invert character matching using [^ ... , I don't think
there's an equivalent for words.
You could have used;
... if there was a way to say 'not beginning with the first match' where
the underscore appears in the above - then
it would be possible to do a quick 1 liner regex - we can use '\1' to
back reference the first match.
J. Landman Gay wrote:
> Sorry if this comes through twice, I'm having trouble sending to the
> 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
> 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