E-Mail Message
~~~~~~~~~~~~~~
From:     Januk Aggarwal
Date:     Saturday, June 07, 2003 at 2:43 AM
Subject:  Re: 1.63 Beta/9
_________________________________________________________

JA> Hello Carsten,

JA> On Friday, June 06, 2003 at 18:13 GMT +0200, legend has it that
JA> Carsten Th�nges recited the incantation:

>> Here is the Quick Template bq that works on a v1.63 beta 9. I think
>> the new variables are extremely cool. They make things a lot easier.

JA> Yup, they do.  Have you considered simplifying your regexps by using
JA> the fact that undefined variables are empty?  You're doing this for the
JA> spacer within the template, but what about for the "previously run"
JA> condition?  This way you don't need that "random" string at the start
JA> of the text.  For example, a really simple standalone recursive
JA> template can look like:

JA> =====[Begin wrap_new]=====
JA> %REM(
JA>          Wrap Template using new 1.63/beta8 features
JA>          Written June 7, 2003 by Januk Aggarwal
JA> )%-
JA> %-
JA> %IF:'%_FirstTime'='':'%-
JA> %___%_Wrap_Text(%Clipboard)%-
JA> %___%_FirstTime="No"'%-
JA> %-
JA> %IF:'%-
JA> %SETPATTREGEXP="(?is-m)[^\n]+"%-
JA> %REGEXPMATCH(%_Wrap_Text)'<>'':'%-
JA> %-
JA> %SETPATTREGEXP="(?is-m)^(.*?)((\n((\w{0,5}(\>\s*)+)?\s*\n)+)(.*)\s*$|\z)"%-
JA> %REGEXPBLINDMATCH(%_Wrap_Text)%-
JA> %-
JA> %_Paragraph_1(%Subpatt(1))%-
JA> %_Blank_Space(%Subpatt(3))%-
JA> %_Remainder_Of_Text(%Subpatt(7))%-
JA> %-
JA> %WRAPPED(%_Paragraph_1)

JA> %_Wrap_Text(%_Remainder_of_Text)%-
JA> %-
JA> %QINCLUDE(wrap_new)'%-
JA> =====[ End  wrap_new]=====



_________________________________________________________


 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)%REM(          Wrap Template using new 1.63/beta8 features
Written June 7, 2003 by Januk Aggarwal )%- %- %IF:'%_FirstTime'='':'%-
%___%_Wrap_Text(%Clipboard)%- %___%_FirstTime="No"'%- %- %IF:'%-
%SETPATTREGEXP="(?is-m)[^\n]+"%- %REGEXPMATCH(%_Wrap_Text)'<>'':'%- %-
%SETPATTREGEXP="(?is-m)^(.*?)((\n((\w{0,5}(\>\s*)+)?\s*\n)+)(.*)\s*$|\z)"%-
%REGEXPBLINDMATCH(%_Wrap_Text)%- %- %_Paragraph_1(%Subpatt(1))%-
%_Blank_Space(%Subpatt(3))%- %_Remainder_Of_Text(%Subpatt(7))%- %-
%WRAPPED(%_Paragraph_1)

 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)%_Wrap_Text(%_Remainder_of_Text)%- %- %QINCLUDE(wrap_new)'%-

 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)
bq




--  
Jody
The ULTIMATE security fix/patch for LookOut! and LookOut! Express ... 
The Bat! 1.63 Beta/9 ... Running on Windows XP 5.1 Service Pack 1
--


Thought / Fact / Joke of the day ....
It takes 3,000 cows to supply the NFL with enough leather for a year's supply of 
footballs.


 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)%REM(          Wrap Template using new 1.63/beta8 features
Written June 7, 2003 by Januk Aggarwal )%- %- %IF:'%_FirstTime'='':'%-
%___%_Wrap_Text(%Clipboard)%- %___%_FirstTime="No"'%- %- %IF:'%-
%SETPATTREGEXP="(?is-m)[^\n]+"%- %REGEXPMATCH(%_Wrap_Text)'<>'':'%- %-
%SETPATTREGEXP="(?is-m)^(.*?)((\n((\w{0,5}(\>\s*)+)?\s*\n)+)(.*)\s*$|\z)"%-
%REGEXPBLINDMATCH(%_Wrap_Text)%- %- %_Paragraph_1(%Subpatt(1))%-
%_Blank_Space(%Subpatt(3))%- %_Remainder_Of_Text(%Subpatt(7))%- %-
%WRAPPED(%_Paragraph_1)

 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)%_Wrap_Text(%_Remainder_of_Text)%- %- %QINCLUDE(wrap_new)'%-

 Template using new 1.63/beta8 features
         Written June 7, 2003 by Januk Aggarwal
)



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

Reply via email to