On 31-12-2000 at 00:15:26GMT +0000 (which was 0:15 where I live)
Marck D. Pearlstone wrote regarding the subject of "No Subject Regex"
Marck> Hi Manfred,
Marck> On 30 December 2000 at 23:59:34 +0000 (which was 23:59 where I
Marck> live) Manfred Ell wrote and made these points:
Januk>>> Sure, use a conditional regexp. Try something like:
Januk>>> <one line>
Januk>>>
%SUBJECT='%SETPATTREGEXP="(?(?=;;);;(.*)|(.*);;)"%REGEXPBLINDMATCH="%OFULLSUBJ;;(predefined
Januk>>> subject)"%SUBPATT="2"'
Januk>>> </one line>
ME>> This doesn't work. Instead of inserting "PREDEFINED SUBJECT" it
ME>> inserts "(No Subject)".
Marck> That's because TB doesn't leave a blank subject empty. Instead it puts
Marck> in (No Subject). That means the conditional should change to:
Marck> %SUBJECT='%SETPATTREGEXP="(?(?=;;)(No
Subject);;(.*)|(.*);;)"%REGEXPBLINDMATCH="%OFULLSUBJ;;(predefined
Marck> subject)"%SUBPATT="2"'
Hello Marck,
Now it simply blanks the subject but doesn't insert what it should.
Regards
--
Manfred
____________________________________________________________________
using TheBat 1.48h on Windows 5.0 Build 2195 Service Pack 1, RC 1.1
....
The Christmas Pageant does not stink -Bart Simpson/Episode 8F09
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]