Hi TBUDL,

On Tue, 6 Jun 2000 23:58:24 +0800GMT (06/06/2000, 23:58 +0800GMT),
Thomas Fernandez wrote:

TF> Hallo Steve and Jast and Tom,

>>> The regexp would be "([a-zA-Z]*)@" and the match would end up in "\1".
>>> I don't have any idea how to set this up in TB!.

SL>>     m/([\w\.]+)@/ would catch things like [EMAIL PROTECTED]

TF> Thanks, guys. I'll have to breed over this a couple of days and let
TF> you know whether I can get my initial problem solved.

I've tried with the simpler RegEx first and put the following line
into my reply template:

%quotestyle=%SETPATTREGEXP="([a-zA-Z]*)@"%REGEXPMATCH="%OFromAddr"%Quotes

The words REGEXPMATCH and SETPATTREGEXP are spelled out literally;
the word REGEXPMATCH is followed by the original sender's full email address,
and this is shown only once right before the quotes.

SETPATTREGEXP is followed by the algebraic expression, literally
copied, not the result, and the this whole line namely:

SETPATTREGEXP="([a-zA-Z]*)@">

is used as quotestyle (literally as above).

I must be on a completely wrong track with these RegExp's. I would
have thought that what I composed means:

- Take the the first part of a string that ends with the "@" character
(assuming at this stage alpha only; this has been explained by Steve
and will be dealt with later).

- Find this string in the original From address.

- Use the string pattern as input for the %Quotestyle macro.

What's wrong?

-- 

Cheers,
Thomas.  

Message reply created with The Bat! 1.44
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.



-- 
--------------------------------------------------------------
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 : [email protected]


Reply via email to