can I filter lines with a list of alternative OR strings?

David V Glasgow dvglasgow at gmail.com
Thu Mar 3 05:30:20 EST 2022



Hi Folks,

I can filter text using a single term plus a numerical range s eg:
*re 1[0-5]*
matching a text stem “re “ followed by any one of 10, 11, 12, 13, 14 or 15 

But is there a form where the alternatives are also text?  eg something like:

*big [“dog”, “cat”, “fish”]*

The above searches OK, but only for “big”.  There is no error, but the parenthetic list is ignored, I think.  A number of lines 'filtered with' contain the stem but none of the listed suffix strings.

I suppose there is also a supplementary question that if there is a list of alternative strings  option, is it more efficient than filtering for "big dog", big cat, etc in turn?  If the option exists I feel like it ought to be faster, but what do I know?

Cheers

David Glasgow


More information about the use-livecode mailing list