filter list_of_files with REGEX xyz?

Ralph DiMola rdimola at evergreeninfo.net
Fri Aug 17 10:13:55 EDT 2018


The ".*" is the wild card(zero or more) and "\." Is the period.

filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$"

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of hh via use-livecode
Sent: Friday, August 17, 2018 9:58 AM
To: use-livecode at lists.runrev.com
Cc: hh
Subject: Re: filter list_of_files with REGEX xyz?

This is already case-insensitive, but the period needs an escape:

filter tList with regex pattern "\.*(jpe?g|png|gif)$"


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





More information about the use-livecode mailing list