Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Sep 2010 17:32:09 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Regex Help For Procmail
Message-ID:  <4C840C59.6050704@gmail.com>
In-Reply-To: <4C83C65B.6060508@mykitchentable.net>
References:  <4C814262.5060504@mykitchentable.net> <4C814634.1000003@gmail.com> <4C8164C7.9000107@mykitchentable.net> <4C83C65B.6060508@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/5/10 12:33 PM, Drew Tomlinson wrote:
> No, still not matching.  Basically, why doesn't this header:
> 
> From: "Famous Smoke Shop" <Announce@email.famous-smoke.com>
> 
> Match this procmail recipe:
> 
> :0
> * ^From:.*famous-smoke.com>$

Hmm.. I just noticed this - I don't think you need the trailing bracket (>).

What about this:

	* ^From:.*famous-smoke\.com$

Note that I also escaped the period before 'com'.

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C840C59.6050704>