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 filteri
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 "*.(jpe?g|png|g
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
, wrot
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 t
...@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 in
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 subscrip
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
kl...@major-k.
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 xyz?
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
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
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 use-li
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
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
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
__
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 t
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 about it
16 matches
Mail list logo