Historians believe that Saturday, November 24, 2001 at 11:39 AM was
when, Januk Aggarwal [JA] typed the following:

JA> In the tradition of Carsten's recursive quick templates, I present my
JA> templates to get the %WRAPPED macro to work on multiple paragraphs.

Actually, the one I posted earlier doesn't handle quoted text very
well.  This version is a little better.

=-=-=-=-=-=-[ QT: wrap2 ]-=-=-=-=-=-=
%IF:'%-
%SETPATTREGEXP="(?is-m)[^\n]+"%-
%REGEXPMATCH="%COMMENT"'<>'':'%-
%-
%WRAPPED=_%-
%SETPATTREGEXP="(?is-m)^(.*?)(((\w{0,10}(\>\s*)+)?\n){2,}(.*)$|\z)"%-
%REGEXPBLINDMATCH="%COMMENT"%-
%SUBPATT="1"_
%-
%COMMENT=_%-
%SETPATTREGEXP="(?is-m)^.*?(((\w{0,10}(\>\s*)+)?\n){2,}(.*)$|\z)"%-
%REGEXPBLINDMATCH="%COMMENT"%-
%SUBPATT="5"_%-
%-
%QINCLUDE="wrap2"'
=-=-=-=-=-=-[ QT: wrap2 ]-=-=-=-=-=-=



-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54/10 under Windows 98 4.10 Build 2222 A

I should probably engage that largish, grey organ lurking inside of
my skull a bit more often. I think it's called a brain. -- Simon


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

Reply via email to