Hello Nick,

On Monday, March 10, 2003 at 14:53 GMT +0000, something compelled Nick
Dutton [ND] to inscribe:

ND> I can't seem to make this macro work at all. It seems to me that
ND> print_recipient2 is not getting called properly, or at all; the
ND> lines after To, CC, BCC are always blank.

ND> I've tried inserting text markers to indicate QT calls, and have
ND> never seen the ones for print_recipient2 appear.

All of your templates seem to be ok.  The only thing I can think of to
check is that you've spelled the names of the templates correctly.  If
you want to change the names, just make sure you make the change in
the templates that call the others as well.

Note:  I updated the regexps in print_recipient2 to handle special
cases a bit better.  You may want to try it:

=====[Begin print_recipient2]=====
%REM='
      Recipient List reformating routine.
      recipient2 = recursive engine QT
      
      Written by Januk Aggarwal
      November 2002
'%-
%-
%IF:'%-
%SETPATTREGEXP=$(?i)^\d*\n\s*((\"?)(.*?)\2\s*(\<.*?\>)?\s*[;,]\s*)$%-
%REGEXPMATCH=$%COMMENT$'<>'':'%-
%-
%SETPATTREGEXP="\s{%-
%-%-%SETPATTREGEXP=#^\d*#%-
%-%-%REGEXPMATCH=#%COMMENT#}"%-
%REGEXPMATCH="                                        "%-
%-
%SETPATTREGEXP=$(?i)^\d*\n\s*(((\"?)(.*?)\3\s*(\<.*?\>)?)\s*[;,]\s*)?$%-
%REGEXPBLINDMATCH=$%COMMENT$%-
%SUBPATT=$2$
%-
%COMMENT=_%-
%-%-%SETPATTREGEXP=$(?i)^(\d*\n)\s*((\"?)(.*?)\3\s*(\<.*?\>)?\s*[;,]\s*)?(.*)$%-
%-%-%REGEXPBLINDMATCH=$%COMMENT$%-
%-%-%SUBPATT=$1$%-
%-%-%SUBPATT=$6$_%-
%-
%QINCLUDE="print_recipient2"'%-
=====[ End  print_recipient2]=====

ND> I'm no regex expert, but I'm clear on what's going on up until
ND> line 3 of print_recipient - please, no laughing!

I don't have time to explain it right now, but I'll try to post a
summary tonight or tomorrow (unless someone else wants to take a shot
at it.) 

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.63 Beta/7 under Windows 98 4.10 Build 2222 A

Is it OK to use the AM radio after noon?




________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to