Hi Solid,

Historians believe that Fri, 26 Jan 2001 at 05:36:04 GMT +0700 was when,
solid_snake [SS] typed the following:

SS> Selasa, almost night (was almost night in my town),
SS> [..in milis thebat!tech..], wie wrote:
>>    « wie's The Bat! (v1.49c) rip »
>> [wie]:
>> so do i :) hehehe
SS>  Wait for Januk to set regexp for string "Pine"
 
Ok, but this is the last one for a while. (Famous last words).

<regexp>
%SETPATTREGEXP="(?im-s)(?(?=(.*\n)*?^Message-ID\:\s*\<Pine)(.*\n)*?^Message-ID\:\s*\<(Pine)|^X-Mailer\:\s?(.*))"%REGEXPBLINDMATCH="%HEADERS"%SUBPATT="3"%SUBPATT="4"
</regexp>

This will return "Pine" if the message ID is <Pine.*>
And it will return the X-Mailer header if not.

It returns a null string if neither exist.  It works here.
 

-- 
Thanks for writing,
 Januk Aggarwal

 Using The Bat! 1.49c under Windows 98 4.10 Build 2222  A

 Despite these words, this page is blank.

-- 
______________________________________________________
Archives   : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to