Hello Jannik,

On Monday, February 12, 2001 21:36:19 [ +0100 GMT], you wrote the
following in regards to 'TB! v1.49 - bypassing the group to a folder':

Jannik> What I mean is this: Some people - like our own good Allie - uses initials in
Jannik> their address-name. And so, using a %OFROMFNAME-macro results in something like
Jannik> this: "On (date) A. wrote on (subject):". I was merely trying to find a general
Jannik> solution for this - and it seems that this shall be my occasion for a journey
Jannik> into the dark world of macros and RegEx's

  Yes, you're right. Here's one that works:
  %ABofromHANDLE='%ABofromFIRSTNAME="%OFROMFNAME"'

  It will first look in the AB for a handle. If there is no handle, it
  will go to the first name. Failing that it will return the first
  name of the person sending you a post.

  In A Curtis Martin's case, I have "Allie" as a handle. Therefore, if
  I get email from A Curtis Martin, the above regexp returns "Allie"
  in the greeting.

  Then there is:
  %SETPATTREGEXP="(?(?=Hi\s;;)Hi\s;;(.*)|(.*);;)"%REGEXPMATCH="Hi 
%ABofromHANDLE=""%ABofromFIRSTNAME"";;Hello %TOFNAME"%SUBPATT="2",

  Same rules as above however this one creates a friendly greeting
  like "Hi" Jannik for people in your AB and a more formal "Hello"
  Jannik in the event you are not listed in the AB.

  In the case of Allie, the greeting generated would be "Hi Allie"
  because A Curtis Martin has a handle & (obviously) is listed in my
  AB.

  All credit for these regexp belong to a variety of people, but
  basically Januk Aggarwal.

  HTH

-- 
Jan Rifkinson
Ridgefield, CT USA
Using TB! v1.49
ICQ 41116329



-- 
______________________________________________________
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to