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 >>> <[email protected]> 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. >>> >>> Can you clarify the [GJP][IPN][FG]? Are they typos or something new to me? >> >> >> 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 indeed. > It will also catch ".JIF". We hope no one has files with extension > "PIG". ".GIG" is optional. Well, I did hedge my bets by saying "sometimes"... the one that might cause a problem here is "GPG". -- -Mark Wieder [email protected] _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
