procmail
[Top] [All Lists]

Re: quick question

1999-06-09 20:50:59
On Wed, 9 Jun 1999, Michael Johnson wrote:

: 0 :
* ^From:(_dot_)foo(_at_)fizz(_dot_)terra(_dot_)net
! eros(_at_)hyancinth(_dot_)org

is it really neccesary to escape the periods in the match line?

Not _really_. It makes for a more precise regular expression.
_Usually_, the dot will match an actual dot, and all will be well.
Backslash dot will match only an actual dot.  It's just being pedantic.

While we're being pedantic, you probably want to say
* ^From:(_dot_)*foo(_at_)fizz(_dot_)terra(_dot_)net
instead of
* ^From:(_dot_)foo(_at_)fizz(_dot_)terra(_dot_)net

-jeff
-- 
You want the truth?  You can't handle the truth!  No truth-handler, you.
I deride your truth-handling abilities. --Sideshow Bob

<Prev in Thread] Current Thread [Next in Thread>