procmail
[Top] [All Lists]

Re: Procmail regext bug?

2002-03-05 23:54:41
Philip Guenther writes:
Richard Gooch <rgooch(_at_)ras(_dot_)ucalgary(_dot_)ca> writes:
 Hi, all. I'm finding that the recipe:

:0
* ^( )fred
| (: matched; cat)> /dev/null

is not matching when I have a line in the header like this:
fred

(i.e. a space at the beginning of the line followed by "fred").
More complex variations of this regex also fail. Is this considered a
bug, or is it a case of "procmail is not egrep"?

To quote the procmail(1) manpage:
       To  make  `egrepping' of headers more consistent, procmail
       concatenates all continued header fields; but only  inter-
       nally.   When delivering the mail, line breaks will appear
       as before.

Ah! Missed that one. Thanks! That actually makes life a lot easier.

                                Regards,

                                        Richard....
Permanent: rgooch(_at_)atnf(_dot_)csiro(_dot_)au
Current:   rgooch(_at_)ras(_dot_)ucalgary(_dot_)ca
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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