From: martin f. krafft Date: Sun, 26 Aug 2007 20:01:12 +0000 (+0200) Subject: allow multidigit timespecs X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/4341ead2067edf202f5bf36a6179617740b84111?ds=sidebyside allow multidigit timespecs --- diff --git a/procmail/tickle b/procmail/tickle index dac3fb7..d865e86 100644 --- a/procmail/tickle +++ b/procmail/tickle @@ -9,22 +9,22 @@ :0 E * MATCH ?? ^[0-9]+m$ - * MATCH ?? ^\/[^m] + * MATCH ?? ^\/[^m]+ { DATESTR="$DATE + $MATCH months 00:00" } :0 E * MATCH ?? ^[0-9]+w$ - * MATCH ?? ^\/[^w] + * MATCH ?? ^\/[^w]+ { DATESTR="$DATE + $MATCH weeks 00:00" } :0 E * MATCH ?? ^[0-9]+d?$ - * MATCH ?? ^\/[^d] + * MATCH ?? ^\/[^d]+ { DATESTR="$DATE + $MATCH days 00:00" } :0 E * MATCH ?? ^[0-9]+h$ - * MATCH ?? ^\/[^h] + * MATCH ?? ^\/[^h]+ { DATESTR="$DATE + $MATCH hours" } :0 E