On Wed, 01 Jul 2009, Magnus Bäck wrote:
> On Wednesday, July 01, 2009 at 07:02 CEST,
> Rob Brandt <[email protected]> wrote:
>
>
> > Sahil Tandon wrote:
> >
> > > I prefer pcre:, but the following patterns should work with regexp:
> > > as well.
>
> No, {n} isn't supported by regexp.
I too was surprised that {n} seems to work with regexp when tested on the
command line with postmap(1):
# cat header_test
/^X-Spam-Flag: YES$/ DISCARD
/^Subject:.*\*{3}SPAM\*{3}/ DISCARD
# postmap -q "Subject: foo ***SPAM*** bar" regexp:header_test
DISCARD
--
Sahil Tandon <[email protected]>