Regex Problem

2000-10-31 Thread Dirk Heiser
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_MYSUBJEK

Re: Regex Problem

2000-11-01 Thread Christian Gassmann
Dirk Heiser <[EMAIL PROTECTED]> wrote: [...] > > >%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""" > Put ":?\s*" (without the

Re: Regex Problem

2000-11-01 Thread Peter Steiner
Hello Dirk On Wed, 1 Nov 2000 00:31:49 +0100, Dirk Heiser wrote: DH> To Clean up Subjects like this: DH>Antwort: [Palm] Re: [Palm] fwd: [palm] re: new Subject (was: old s) DH>(yes i really received Subjects like this :-) ) DH> To this: DH>Re: new Subject DH> I used one of the Regex

Re: Regex Problem

2000-11-01 Thread Peter Steiner
On Wed, 1 Nov 2000 10:39:30 +0100, I wrote: PS> PS> %subject="Re: %SETPATTREGEXP='(?i)(\:\s*)?(((Re|Aw|Antwort):|\[(Palm|palmcomp)\])\s*)*(.*)'%REGEXPBLINDMATCH='%OSUBJ'%SUBPATT='6'" PS> PS> BTW: could anybody using S/MIME please tell the exact string inserted PS> by TB when decrypting? Now t

Re: Regex Problem

2000-11-01 Thread Gerd Ewald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Peter Steiner ! On Wed, 1 Nov 2000 10:39:30 +0100 GMT your local time, which was 01.11.2000, 10:39 (GMT+0100) where I live, you wrote: [...] > BTW: could anybody using S/MIME please tell the exact string inserted > by TB when decrypting? Now

Re: Regex Problem

2000-11-01 Thread Christian Gassmann
Peter Steiner <[EMAIL PROTECTED]> wrote: PS>> BTW: could anybody using S/MIME please tell the exact string PS>> inserted by TB when decrypting? Now the RE just removes the "(PGP PS>> Decrypted)" suffix... > Oops, i got the wrong RE, it doesn't remove the Decrypted part. Try > this one: > > %su

Re: Regex Problem

2000-11-01 Thread Dirk Heiser
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 u