* Timur Kadyshev <[EMAIL PROTECTED]> writes:

> I'm trying to filter out messages with "From:" field containing
> address that starts with "238", and then has three digits before "@".
> Regexp I'm using is ^238\d\d\d@ .

Try

    (?m)^From:\s*238\d{3}@

any search in the entire header. You have to switch on
PCRE_MULTILINE (see help file) for the circumflex to work.

>                                     I tested this regexp with regular
> filter -- it worked just fine (after I enabled regular expression
> filtering).

In regular filters PCRE_MULTILINE is active by default.
-- 
Carsten, hth


________________________________________________
Current version is 1.62r | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to