At 10:38 2005-06-29 -0500, Mr Duck wrote:
Ancoring is simply tying something to the begining/end of a line to
ensure that the match happened there and not at some random point in
the middle of a string.
So, what's the difference between two carets (^^) and one (^)?
^^ anchors to the beginning (or end) of a message. Most often used when
matching against a variable. ^^^^ is EMPTY string for instance.
from 'man procmail' (the manpages are your friend):
" ^^ Anchor the expression at the very start of the
search area, or if encountered at the end of the
expression, anchor it at the very end of the
search area."
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail