Hello Lars,

On Monday, November 19, 2001 at 10:09 GMT +0100, a creature mimicking
Lars Geiger [LG] wrote:

>> %IF:'%-
>> %SETPATTREGEXP="(?im-s)^(X-Mailer|User-Agent)\:.*(Bat!|Becky|Gnus)"%-
>> %REGEXPBLINDMATCH="Headers"%-
>> %SUBPATT="2"%-
>> '='':'None':'I'

LG> Unfortunately, that doesn't work either... (see above).

Argh. Yes, there is a stupid mistake above. I forgot the '%' character
before the %HEADERS macro. When debugging a regexp, don't look at the
pattern first. I thought I liked to teach that lesson. <sigh>

Change the macro to:

,----- [ prefix QT ]
| %IF:'%-
| %SETPATTREGEXP="(?im-s)^(X-Mailer|User-Agent)\:.*(Bat!|Becky|Gnus)"%-
| %REGEXPBLINDMATCH="%Headers"%-
| %SUBPATT="2"%-
| '='':'None':'I'
'-----

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54/10 under Windows 98 4.10 Build 2222 A

I'm really easy to get along with once you people learn to worship me.


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

Reply via email to