Filter and regex

Mark Wieder mwieder at ahsoftware.net
Fri Aug 20 11:58:21 CDT 2004


Ludovic-

Friday, August 20, 2004, 7:57:32 AM, you wrote:

LT> Hello,

LT> I want to filter a list by date. For example i want all lines which
LT> contains a date between 01/05/* to 07/05/*

Well, if that's what you really want, then this does the trick:

0[1-7]/05/*

but note that that will give you "January through July of any year" or
"05 January through 05 July of any year", depending on the local date
system. If what you really want is "January through July of 2005" then
this is what you want:

/0?[1-7]/05

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list