> On Mar 3, 2022, at 2:30 AM, David V Glasgow via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 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”]*

Hi, David.

regex supports alternation, so if you put "big dog|big fish" into tTarget then 
you can
<code>
filter pText with regex tTarget
</code>

Does that work for you?

— Dick
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to