filter list_of_files with REGEX xyz?

Klaus major-k klaus at major-k.de
Fri Aug 17 09:26:49 EDT 2018


Hi Brian,

> Am 17.08.2018 um 15:19 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
> 
> RegEx pattern
> Sorry, I was just giving the pattern, not the syntax.
> Also, it will probably be case sensitive in that format.

My suffixes are all lower case, so this shouldn't matter here.

> I won’t be able to test until later. I don’t recall the case insensitive flag off hand.

No joy :-/

If I use:
...
filter tList with regex pattern "*.(jpe?g|png|gif)"
...
or
...
filter lines of tList with regex pattern "*.(jpe?g|png|gif)"
...
I get an error: 
button "Button": execution error at line 8 (matchChunk: error in pattern expression), char 1

> Thanks,
> Brian

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list