[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] Re: unsubscribe - Procmail Rule



* Tim Nicholas <tim@nicholas.net.nz> wrote:
> On Fri, Apr 25, 2003 at 10:55:15PM -0400, Phillip Hofmeister wrote:
> > Can anynone enlighten me why my rule didn't catch this message?
> > 
> > :0
> > * ^X-Mailing-List:.*debian-.*@lists.debian.org
> > * ^Subject: .{0,2}sub.{1,5}ibe
> > /dev/null
> 
> You might have to escape the { and }. 
> * ^Subject: .\{0,2\}sub.\{1,5\}ibe

The { and } aren't supported in procmail regular expressions whether
escaped or not. You can use only *, +, and ? for matching different
number of characters.



Reply to: