RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
LiveCode Cc: Bob Sneidar Subject: Re: filter list_of_files with REGEX xyz? Half want cake, the other half, pie. Bob S > On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode wrote: > > On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: >> True true... I thought ab

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Bob Sneidar via use-livecode
Half want cake, the other half, pie. Bob S > On Aug 17, 2018, at 09:45 , Mark Wieder via use-livecode > wrote: > > On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: >> True true... I thought about it but left it as is just in case there was an >> image without a file name before

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode
On 08/17/2018 08:54 AM, Ralph DiMola via use-livecode wrote: True true... I thought about it but left it as is just in case there was an image without a file name before the ".". I did not want it to be missed. You know users... LOL -- Mark Wieder ahsoftw...@gmail.com

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
e-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Friday, August 17, 2018 11:41 AM To: Ralph DiMola via use-livecode Cc: Mark Wieder Subject: Re: filter list_of_files with REGEX xyz? On 08/17/2018 07:13 AM, Ralph DiMola via use-livecode wrote

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Mark Wieder via use-livecode
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 "." --

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
I was going to send the whole line but Hermann has beaten me to it - and I will use his version from now on, thanks Hermann. Lagi On Fri, 17 Aug 2018 at 15:03, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Hermann, > > > Am 17.08.2018 um 15:58 schrieb hh via

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Lagi Pittas via use-livecode
rian Milby via use-livecode > Sent: Friday, August 17, 2018 9:19 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: filter list_of_files with REGEX xyz? > > RegEx pattern > Sorry, I was just giving the pattern, not the syntax. > Also, it will probably be case sensit

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
code [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of hh via use-livecode Sent: Friday, August 17, 2018 9:58 AM To: use-livecode@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 re

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
gt; > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Brian Milby via use-livecode > Sent: Friday, August 17, 2018 9:19 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: filter list_of_files with REGEX x

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 17.08.2018 um 15:58 schrieb hh via use-livecode > : > > This is already case-insensitive, but the period needs an escape: > > filter tList with regex pattern "\.*(jpe?g|png|gif)$" ah, jetzt ja! :-) Thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread hh via use-livecode
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

RE: filter list_of_files with REGEX xyz?

2018-08-17 Thread Ralph DiMola via use-livecode
...@lists.runrev.com] On Behalf Of Brian Milby via use-livecode Sent: Friday, August 17, 2018 9:19 AM To: How to use LiveCode Cc: Brian Milby Subject: Re: filter list_of_files with REGEX xyz? RegEx pattern Sorry, I was just giving the pattern, not the syntax. Also, it will probably be case sensitive

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Brian, > Am 17.08.2018 um 15:19 schrieb Brian Milby via use-livecode > : > > 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

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
RegEx pattern Sorry, I was just giving the pattern, not the syntax. Also, it will probably be case sensitive in that format. I won’t be able to test until later. I don’t recall the case insensitive flag off hand. Thanks, Brian On Aug 17, 2018, 8:15 AM -0500, Klaus major-k via use-livecode ,

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi Brian, > Am 17.08.2018 um 14:40 schrieb Brian Milby via use-livecode > : > > Pattern “*.(jpe?g|png|gif)” thanks, but that does not work!? I tried: on mouseUp pMouseButton answer folder "sdsdsdsd" put it into tFolder put files(tFolder) into tList filter tList with pattern

Re: filter list_of_files with REGEX xyz?

2018-08-17 Thread Brian Milby via use-livecode
Pattern “*.(jpe?g|png|gif)” Thanks, Brian On Aug 17, 2018, 6:44 AM -0500, Klaus major-k via use-livecode , wrote: > Hi friends, > > I know how to: > ... > filter list_of_files with "*.jpg" > ... > But REGEX stuff is way over my head. :-/ > > Can anyone provide the regex/pattern syntax for

filter list_of_files with REGEX xyz?

2018-08-17 Thread Klaus major-k via use-livecode
Hi friends, I know how to: ... filter list_of_files with "*.jpg" ... But REGEX stuff is way over my head. :-/ Can anyone provide the regex/pattern syntax for filtering jpg, png etc. in ONE run? Know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de