Hi there!

On 31 Jan 00, at 8:29, Peter Steiner wrote
    about "Re: Signature Thing Frustration":

> On Mon, 31 Jan 2000 04:04:35 +0300, Alexander V. Kiselev wrote:
> 
>                     ^^ Sleepless in St. Petersburg?? ;-)

Yeah, Allie's message dealing with that regexp idea arrived after the midnight, 
was just waiting for the response on how it works;-) Sat down, read Cicero... 
Wonderful life for a lazy fellow like me;-)!

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

Thanx;-) On behalf of the gang of lazy guys&gals here on TBUDL;-))

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

Actually, this needs some support from RIT guys... If one could assign the 
result of any regexp execution to a "variable" it would have simplified syntax 
alot, IMHO. So what we need is the extension of the permitted macro syntax. 
Well, leave cycles for version 2 <g>, but give us the variables now, please;-)

> > 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 ;-)

<vbg>

-- 
SY, Alex
(St.Petersburg, Russia)
http://mph.phys.spbu.ru/~akiselev
--- 
Thought for the day:
  A pipe gives a wise man time to think and a fool something
  to stick in his mouth.

--- 
PGP public keys on keyservers:
0xA2194BF9 (RSA);   0x214135A2 (DH/DSS)
fingerprints:
F222 4AEF EC9F 5FA6  7515 910A 2429 9CB1 (RSA)
A677 81C9 48CF 16D1 B589  9D33 E7D5 675F 2141 35A2 (DH/DSS) 
--- 

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