On Tuesday, June 10, 2003, at 18:48:44 [UTC-0300] (Tuesday, June 10, 2003
23:48 my local time) Thomas Martin wrote:

> somebody get this to work, i am going crazy...normaly it has following
> result:

> Attachments / Dateianlagen:

Your problems are caused by %COMMENT macro in new betas. Try following
templates which work with my TB:

--------[ATN QT]-----------
%_Att(%ATTACHMENTS)%-
%_Any_Att="%SETPATTREGEXP='^\s*<(keine|none)>\s*\Z'%-
%REGEXPMATCH(%_Att)"%-
%-
%IF:"%_Any_Att"==""%-
:%-
"Attachments / Dateianlagen:
----------------------------
%_Att_Items='1:%_Att'%-
%QINCLUDE(ATN2)"%-
--------[End of QT]-----------

--------[ATN2 QT]-----------
%IF:"%-
%SETPATTREGEXP='(?i)(,|;)'%REGEXPMATCH(%_Att_Items)"<>""%-
:"%-
%SETPATTREGEXP='(?i)^(\d+):\s*(.*?)\s*(,|;)'%-
%REGEXPBLINDMATCH(%_Att_Items)%-
[%SUBPATT(1)] %SUBPATT(2)
%-
%_Curr_No='%SETPATTREGEXP=""^(\d+):""%REGEXPMATCH(%_Att_Items)'%-
%_Next_No(%CALC='1+%_Curr_No')%-
%SETPATTREGEXP='(?i)^\d+:.*?(;|,)\s*(.*)\s*\Z'%-
%REGEXPBLINDMATCH(%_Att_Items)%-
%_Att_Items(%_Next_No:%SUBPATT(2))%-
%-
%QINCLUDE(atn2)"%-
:"%-
%SETPATTREGEXP='(?i)^(\d+):\s*(.*?)\s*\Z'%-
%REGEXPBLINDMATCH(%_Att_Items)%-
[%SUBPATT(1)] %SUBPATT(2)"%-
--------[End of QT]-----------


-- 
Best regards,
Zygmunt Wereszczynski
(Using The Bat! v1.63 Beta/10 on Windows 98 4.10 Build 2222 A )


________________________________________________________
 Current beta is 1.63b10 | "Using TBBETA" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to