Hello Lars,

Historians believe that Monday, November 19, 2001 at 10:09 GMT +0100
was when, Lars Geiger [LG] typed the following:

LG> Hi Januk,
LG> On Monday, November 19, 2001 at 00:38:32 [GMT -0800], you wrote:

>> 2.  That means the final corrected version should be:

>> %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). If I try only
LG> the RegExp in a QT, both subpattern 1 and 2 are returned empty. And the
LG> message definitely contains "X-Mailer: The Bat! (v1.54/10)". And even
LG> subpattern 0 is empty. (???)

It works on my machine.  When you're testing the regexp, remember to
remove the %IF macro.  Otherwise you won't see the subpatterns.
Copying from above, you can test the following:

,----- [ test QT ]
| %SETPATTREGEXP="(?im-s)^(X-Mailer|User-Agent)\:.*(Bat!|Becky|Gnus)"%-
| %REGEXPBLINDMATCH="Headers"%-                                        
| %SUBPATT="2"%-                                                       
| 
| SubPatt 0 = <%SUBPATT="0">
|         1 = <%SUBPATT="1">
|         2 = <%SUBPATT="2">
|         3 = <%SUBPATT="3">
'-----


--
Thanks for writing,
 Januk Aggarwal

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

OK, I'm weird! But I'm saving up to become eccentric.


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

Reply via email to