Hello,

While cleaning my templates, I found a monstrosity that I had posted
over a year ago[1].  Being somewhat bored, I couldn't live with that
inelegant solution, so here is the current version which lists an
arbitrary number of recipients.

[1] <http://www.mail-archive.com/tbtech@thebat.dutaint.com/msg00635.html>

====[QT recipient]====
%COMMENT="%-
%-%-%IF:'%TOLIST'<>'':'%TOLIST, ':''%-
%-%-%IF:'%CCLIST'<>'':'%CCLIST, ':''%-
%-%-%IF:'%BCCLIST'<>'':'%BCCLIST, ':''%-
"%-
%QINCLUDE="recipient2"%-
%COMMENT=""%-
====[End]====

====[QT recipient2]====
%REM='
      Recipient List reformating routine.
      recipient2 = recursive engine QT
      
      Written by Januk Aggarwal
      June 2002
'%-
%-
%IF:'%-
%SETPATTREGEXP=$(?i)^(\"?(.*?)\"?\s*(\<.*?\>)?\s*[;,]\s*)?$%-
%REGEXPMATCH=$%COMMENT$'<>'':'%-
%-
%SETPATTREGEXP=$(?i)^(\"?(.*?)\"?\s*(\<.*?\>)?\s*[;,]\s*)?$%-
%REGEXPBLINDMATCH=$%COMMENT$%-
%SUBPATT=$2$
%-
%COMMENT=_%-
%-%-%SETPATTREGEXP=$(?i)^(\"?(.*?)\"?\s*(\<.*?\>)?\s*[;,]\s*)?(.*)$%-
%-%-%REGEXPBLINDMATCH=$%COMMENT$%-
%-%-%SUBPATT=$4$_%-
%-
%QINCLUDE="recipient2"'%-
====[End]====

-- 
Enjoy,
 Januk Aggarwal

Ok, who is General Relativity, and what did he do with Sir Newton?


______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to