Hi Dirk,

:-)

On Wed, 1 Nov 2000 00:31:49 +0100, you wrote:

[Subject Cleaning Regex]

DH> This all work fine for all cases i tryed, but if i use a Subjekt like
DH>    Fwd: Test
DH> I get
DH>   Re: : Test
DH>      ^^

Thank for all replaying to this.

The ":?\s*" Work around Work fine. Now i am using this Regex for my
Replays:

<one line>
%SUBJECT="%SETPATTREGEXP=""(?i)\A(?::?\s*)(?:(?:\s*(?:fwd|re|aw|fw|antwort|wg|forw)(?:\[\d*\])?:\s*)|(?:\s*\[(?:Palm|palmcomp)\]\s*))*(.*?)(?:(?:\s*\((?:was|war):.*\)\s*)|(?:\((?:PGP|S/MIME)
 Decrypted\)))*\z""%REGEXPMATCH=""%OSUBJ"""
</one line>

This work fine in all cases for me.



I found out that the Problem that need this Work around are a Bug in
the %SUBJ and the %OSUBJ Macros. If the Subject Contain a "Fwd:" this
Macros return _not_ a Valid result. i.e. a Subject Like "Fwd: Test"
Return ": Test".

cu,
 Dirk

-- 
Using The Bat! 1.48 Beta/1 (S/N 12A1F196 / Educational) under Windows 95 4.0 Build 
1111  B

-- 
--------------------------------------------------------------
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 : archive@jab.org


Reply via email to