Hello Alexander and TB! addicts

On Mon, 31 Jan 2000 04:04:35 +0300, Alexander V. Kiselev wrote:

                    ^^ Sleepless in St. Petersburg?? ;-)

> Ah, yeah, please excuse me, Peter, but I really have completely forgotten
> about that one of yours;-( You see, I'm not using TB right now (hope the 
> things will change with ver.2 although;-)),

I hope that too. I wouldn't want to loose your postings here :-)

> so why don't you make a repost of the "complicated" thing
> you had posted on TBBETA?

I can think of no good answer... So i do repost:

<one long line>
%QUOTES="%SETPATTREGEXP=""(?is)(-----BEGIN PGP SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(- 
--|--\n|-----BEGIN PGP SIGNATURE)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""
</one long line>

To use it, replace the macro %QUOTES in your reply templates with
this long line.

> BTW, I think the trick shouldn't be done with *one* regexp, I rather think two 
> or more subsequent calls should be used. This would simplify the maintenance 
> of the whole thing. For example, first strip off the signature, then apply another 
> regexp that would strip away the PGP stuff (the PGP signature itself is likely to 
> be already removed at this point, BTW; hence chances are that only PGP 
> header is left to be trashed)...

I will think about this, but right now i have to leave for work.

>> but it does not (i) But this is easy to fix. Just insert |--\n at
>> the right position ;-))

> Yup;-) Now tell them all what's right position...

Column 89, see above.

>> To not interfere with the vote taking, i don't repost the Regexp
>> now (anybody can look it up in the tbbeta archive, look for "REGEXP
>> example"), and i don't tell the exact position of the fix just
>> now ;-))

> Hey, you're of sadistic disposition then;-)?

For that you will have to ask my friends (do I have any?), but i
think it's more teasing than being sadistic ;-)

Regards

Peter
-- 
Peter Steiner <[EMAIL PROTECTED]>        PGP-ID 0x02850F53 (DH/DSS)
PGP Fingerprint 68AB D08E D995 41B4 C6FD  639D 9B94 D249 0285 0F53
"Schtill! Was ziberlet dert n�bem Tobel�hli
z grachtige n uuf u aab?" - Franz Hohler

-- 
--------------------------------------------------------------
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]>
--------------------------------------------------------------

Reply via email to