procmail
[Top] [All Lists]

Re: regular expression to catch <> in the from field.

1998-09-13 20:24:43
Somebody quoted by Walter Dnes asked,

| > I want to filter it by the from field but nothing I do works.
| > I am probably missing somehting obvious, but what regular
| > expression would I use to catch just messages from <> ?

 * ^From:.*<>

< and > are special only as the first character, where they would introduce
a size condition, or when escaped, as in \< or \>, where they match a space,
a punctuation mark, a newline, or a putative newline.

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