Re[2]: regular expression from Alex..
Hello Christian Gassmann, On Fri, 22 Sep 2000 00:34:08 +0200 GMT your local time, which was Friday, September 22, 2000, 5:34:08 AM (GMT+0700) my local time, Christian Gassmann wrote: Thanks for any help! QUOTE BTW, on the same matter: Has anyone managed to create a regexp which filters out egroups banners? Give it to them;-) oneliner %Cursor%Quotes="%SetPattRegExp=""(?is)(.*^-BEGIN PGP SIGN ED.*?\n(Hash:.*?\n)?\s*|\A-.*---.*?\n{1,})?(.*?) (^(- --\s*\n|- ---\s*\n|--\s*\n|---\s*\n|_{40,}\s*\n|-BEG IN PGP SIGNATURE)|\z)""%RegExpBlindMatch=""%text""%SubPatt=""3""" /oneliner If you like to match _only_ eGroups banners with this one, try substituting "--_-" (w/o quotes) for "--.*?" in above regexp, but I can give no warranty that eGroups will not change their delimiter... Besides, the "general syntax" gegexp works well against other "group banners" I have encountered so far. It will only fail if the message contains a long enough sequence of dashes in the body of the message or in the signature. Credits: Peter Steiner, Marck D. Pearlstone. I have somewhat edited the last anti-PGP-sig macro suggested by Marck because I wanted to target both goals with one regexp: to both strip off PGP stuff and to cut away the group banners... EOQ -- Best regards, tracer Using theBAT 1.47 Beta/5 mail to : [EMAIL PROTECTED] using FireTalk: 321338 LOCAL phone: 271194 -- -- View the TBBETA archive at http://tbbeta.thebat.dutaint.com To send a message to the list moderation team double-click HERE: mailto:[EMAIL PROTECTED] To Unsubscribe from TBBETA, double-click HERE: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org
Re[2]: regular expression from Alex..
Hello Thomas Fernandez, On Sat, 23 Sep 2000 13:23:26 +0800 GMT your local time, which was Saturday, September 23, 2000, 12:23:26 PM (GMT+0700) my local time, Thomas Fernandez wrote: (snip) A point of convenience (usability) rather than a bug, I'd think. ;-) Since all my templates now contain the %SingleRe macro, it's of no urgency to me either. acc to Alex: Should we file a bug report or let Max and Stef work on TB v2? ;-) I believe, it deserves the formal bug report... I see no logic whatsoever in how this %ReplyCounter works, and _this_ is driving me nuts!;-((( We cannot afford to have Alex go nuts due to an illogical behaviour of mathematics (g)) -- Best regards, tracer Using theBAT 1.47 Beta/5 mail to : [EMAIL PROTECTED] using FireTalk: 321338 LOCAL phone: 271194 -- -- View the TBBETA archive at http://tbbeta.thebat.dutaint.com To send a message to the list moderation team double-click HERE: mailto:[EMAIL PROTECTED] To Unsubscribe from TBBETA, double-click HERE: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org
Re: regular expression from Alex..
Hello Peter, On Fri, 22 Sep 2000 19:03:51 +0200 GMT (23/09/2000, 01:03 +0800 GMT), Peter Steiner wrote: PS I do indeed - but as Christian told, it doesn't matter. And what would PS be the main purpose for %ReplyCounter? To re-enable what was disabled PS in some default template with %SingleRe... Yeah, doesn't seem to make sense. Only one tempalte is used in any one message, so it would have to contain both macros. when the macro %ReplyCounter was suggested a few months ago, and subsequently implemented, I thought is was meant to substitute the %SingleRe macro as such as the default would be set to %SingleRe. I was mistaken. PS I think it's a bug. But i don't use this macro, so it doesn't bother PS me. And there are things that bother me and are promised for V2... A point of convenience (usability) rather than a bug, I'd think. ;-) Since all my templates now contain the %SingleRe macro, it's of no urgency to me either. -- Cheers, Thomas.mailto:[EMAIL PROTECTED] Message reply created with The Bat! 1.46d under Chinese Windows 98 4.10 Build 1998 using a Celeron 366 MHz, 128MB RAM -- -- View the TBBETA archive at http://tbbeta.thebat.dutaint.com To send a message to the list moderation team double-click HERE: mailto:[EMAIL PROTECTED] To Unsubscribe from TBBETA, double-click HERE: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org
regular expression from Alex..
Friday, September 22, 2000 I received reg expression from Alex. The part applicable from his message is quoted. I am not to sure what it does ... Quote BTW, here's a brand new regexp for you to take care of those subjects like Re: Fwd: Re[4]: Ha: Fwd: Re[56]: The Bat! vs. Eudora;-): oneliner %Subject="Re:%SetPattRegExp=""(?i)\A\:?(\s*(re|ha|rcpt|fwd)(\[\d*\])?:\s*)*(.*)""%RegExpBlindMatch=""%OSubj""%SubPatt=""4""" /oneliner I'd be interested in finding out how the %ReplyCounter macro works though: if you change the Re:%SetPattRegExp above with %ReplyCounter%SetPattRegExp, it doesn't seem to work as expected. Any secrets there?;-) EOQ note responses welcome... -- Best regards, tracer Using theBAT 1.47 Beta/5 NO MICROSOFT VIRUS INFECTIONS mail to : [EMAIL PROTECTED] using FireTalk: 321338 LOCAL phone: 271194/324244 handphone : 01-891-9560 FAX (USA) (208) 460-3753 pgp 6.5.3 : 0x909D9B10 -- -- View the TBBETA archive at http://tbbeta.thebat.dutaint.com To send a message to the list moderation team double-click HERE: mailto:[EMAIL PROTECTED] To Unsubscribe from TBBETA, double-click HERE: mailto:[EMAIL PROTECTED] -- You are subscribed as : archive@jab.org