8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] 6 or more occurances ...
FromSent OnAttachments
Kurt LieberOct 7, 2005 8:11 am 
Jay LeeOct 7, 2005 8:38 am 
Kurt LieberOct 7, 2005 9:12 am 
Tony EarnshawOct 7, 2005 10:11 am 
Tony EarnshawOct 7, 2005 10:26 am 
Kurt LieberOct 7, 2005 10:52 am 
moussOct 7, 2005 1:24 pm 
Sam VarshavchikOct 7, 2005 3:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] 6 or more occurances of <pattern> in a stringActions...
From:Tony Earnshaw (ton@billy.demon.nl)
Date:Oct 7, 2005 10:11:40 am
List:net.sourceforge.lists.courier-maildrop

fr den 07.10.2005 Klokka 15:07 (+0000) skreiv Kurt Lieber:

Is there a way to match 6 or more occurances of a specific pattern in a string using the 1.x series of maildrop? (i.e. non PCRE)

The man page is very clear about how to count one or more or zero or more, but I'm looking for the equivalent of:

egrep "\?{6,}" <file>

I tried both:

if ( /\?\{6,\}/:h )

and

if ( /\?{6,}/:h )

but neither seemed to work.

Well, they wouldn't. You forgot the \d, (or [:digit:]). \d{6,} should work. Oh, and you don't need to escape "{", nor "}".

--Tonni