filter list_of_files with REGEX xyz?

Mark Wieder ahsoftware at sonic.net
Fri Aug 17 11:41:20 EDT 2018


On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote:
> filter tList with regex pattern "(?i).*\.(jpe?g|png|gif)$"

For a file list that should probably be

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

unless you explicitly want to see file names that start with "."

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list