multiple arguments for filter?

2013-08-26 Thread Dr. Hawkins
I thought I had seen references here to using OR with filter (on a container). Is there a way to do this; I can't find it in the docs, and my experiment failed. At the moment, I'm looping around with a repeat and a switch for the regexps. It's not a performance section of the code, but it's

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Monday, August 26, 2013, 10:42:42 AM, you wrote: I thought I had seen references here to using OR with filter (on a container). Not yet. It's in the pipeline, though. For now I do something like put tList into tList1 filter tList1 with tExpression1 put tList into tList2 filter tList2 with

Re: multiple arguments for filter?

2013-08-26 Thread Jan Schenkel
7:42 PM Subject: multiple arguments for filter? I thought I had seen references here to using OR with filter (on a container). Is there a way to do this; I can't find it in the docs, and my experiment failed. At the moment, I'm looping around with a repeat and a switch for the regexps.  It's

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Jan- Monday, August 26, 2013, 12:18:50 PM, you wrote: another member just had a new daughter to celebrate. Now *that's* taking celebration to a whole new level. g That's the beauty of open source: now we can add features to the engine if we pull up our sleeves... Yay for Jan and his lack

Re: multiple arguments for filter?

2013-08-26 Thread Dr. Hawkins
On Mon, Aug 26, 2013 at 12:47 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jan- Monday, August 26, 2013, 12:18:50 PM, you wrote: another member just had a new daughter to celebrate. Now *that's* taking celebration to a whole new level. g Actually, wild celebrations quite often result in

Re: multiple arguments for filter?

2013-08-26 Thread J. Landman Gay
On 8/26/13 2:18 PM, Jan Schenkel wrote: Hi Richard et al, My day-job got in the way these past few weeks; half of my team was on holiday and another member just had a new daughter to celebrate. Needless to say I've been plugging all the holes there and didn't have time to do the next set of

Re: multiple arguments for filter?

2013-08-26 Thread J. Landman Gay
On 8/26/13 1:12 PM, Mark Wieder wrote: You can also sometimes get by with filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png That's pretty clever. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Jacque- Monday, August 26, 2013, 1:17:22 PM, you wrote: filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png That's pretty clever. It is. I'd like to take credit for it, but it's Jerry Daniels' doing. -- -Mark Wieder mwie...@ahsoftware.net

Re: multiple arguments for filter?

2013-08-26 Thread Mark Talluto
On Aug 26, 2013, at 2:00 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jacque- Monday, August 26, 2013, 1:17:22 PM, you wrote: filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png That's pretty clever. It is. I'd like to take credit for it, but it's Jerry Daniels' doing.

Re: multiple arguments for filter?

2013-08-26 Thread Devin Asay
On Aug 26, 2013, at 3:15 PM, Mark Talluto wrote: On Aug 26, 2013, at 2:00 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jacque- Monday, August 26, 2013, 1:17:22 PM, you wrote: filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png That's pretty clever. It is. I'd like to

Re: multiple arguments for filter?

2013-08-26 Thread J. Landman Gay
On 8/26/13 4:30 PM, Devin Asay wrote: On Aug 26, 2013, at 3:15 PM, Mark Talluto wrote: On Aug 26, 2013, at 2:00 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jacque- Monday, August 26, 2013, 1:17:22 PM, you wrote: filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png That's

Re: multiple arguments for filter?

2013-08-26 Thread Mark Talluto
On Aug 26, 2013, at 2:30 PM, Devin Asay devin_a...@byu.edu wrote: Mark, I'm no regex expert, but I think what this is saying is: filter the list, including only strings that end with a dot followed by 1st character in [GJP], 2nd character in [IPN], last character in [FG]. Clever

Re: multiple arguments for filter?

2013-08-26 Thread Dr. Hawkins
On Mon, Aug 26, 2013 at 2:38 PM, J. Landman Gay jac...@hyperactivesw.com wrote: It will also catch .JIF. We hope no one has files with extension PIG. .GIG is optional. This was my reaction, too. WHy not .*\(GIF|gif|PNG|png|JPG|jpg|\) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Jacque- Monday, August 26, 2013, 2:38:49 PM, you wrote: On 8/26/13 4:30 PM, Devin Asay wrote: On Aug 26, 2013, at 3:15 PM, Mark Talluto wrote: On Aug 26, 2013, at 2:00 PM, Mark Wieder mwie...@ahsoftware.net wrote: Jacque- Monday, August 26, 2013, 1:17:22 PM, you wrote: filter tList

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Richard- Monday, August 26, 2013, 3:15:29 PM, you wrote: This was my reaction, too. WHy not .*\(GIF|gif|PNG|png|JPG|jpg|\) Jan's working on it. Give it time. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Mark- Monday, August 26, 2013, 2:00:04 PM, you wrote: filter tList with .*\.[GJP][IPN][FG] -- just .gif, .jpg, .png Oops. I really meant to type *.[GJP][IPN][FG] -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: multiple arguments for filter?

2013-08-26 Thread Dr. Hawkins
On Mon, Aug 26, 2013 at 3:36 PM, Mark Wieder mwie...@ahsoftware.net wrote: Monday, August 26, 2013, 3:15:29 PM, you wrote: This was my reaction, too. WHy not .*\(GIF|gif|PNG|png|JPG|jpg|\) Jan's working on it. Give it time. Oh, I'll happily wait. I just thought that it was supposed to be a

Re: multiple arguments for filter?

2013-08-26 Thread Mark Wieder
Richard- Monday, August 26, 2013, 7:00:28 PM, you wrote: Oh, I'll happily wait. I just thought that it was supposed to be a regexp. Will the other work now? The filter command doesn't work with regex statements yet. The adjusted form I posted will work because the filter command uses