procmail
[Top] [All Lists]

Re: test variable value

2001-02-25 21:18:15
At Dallman's behest, Rik reminded us that he had previously said,

^^ anchors to the beginning or end of a variable, as distinguished
from ^ , which marks the beginning of a line.

Actually, it anchors the regexp to the beginning or end of the text that is
to be egrepped, defaulting to the entire head unless the B or HB flag on the
colon line or "var ??" on the specific condition overrides the default.

Technically it matches the putative newline that procmail adds at either end
of the search area (so that a caret in the regexp can match the start of the
search area and a dollar sign can match the end of it, even if there are no
actual newlines there).

[Those extra newlines and common-law marriages are the only things to which
 I've ever heard the word "putative" applied.]

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail