Hi there,

To Clean up Subjects like this:
   Antwort: [Palm] Re: [Palm] fwd: [palm] re: new Subject (was: old s)
   (yes i really received Subjects like this :-) )
To this:
   Re: new Subject

I used one of the Regex i found here and tryed to modify it.

I use a Quick Template Named "INC_MYSUBJEKT" that contain this:

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

In my Replay Templates i use:

  %QINCLUDE="INC_MYSUBJEKT"%SUBJECT="Re: %SUBJ"
  or
  %QINCLUDE="INC_MYSUBJEKT"%SUBJECT="Re: [Palm] %SUBJ"
  in the Mailing List (inserting this [Palm] Prefix) Templates


This all work fine for all cases i tryed, but if i use a Subjekt like

   Fwd: Test

I get

  Re: : Test
     ^^

I only have this Problem if the Subjekt contain a "Fwd", all other
Prefixes work fine.

If i try this Regex with another Program (XNews) that use also Regular
Expresions this Regex work fine with cutting of the "Fwd" String.


Is the a Bug in TB! or is there a Problem with my Regex (different
default settings)?

cu,
 Dirk

-- 
The Bat! (1.48 Beta/1) Educational [12A1F196]
OS: 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