Hi Raj,

An archeological dig discovered that on Sunday, May 5, 2002 at 20:52
GMT +0530, Raj [R] typed the following:

R> Is there a way this template can be redefined to take account paragraphs.

R> I  need  to  quote  a couple or more para's of an e-mail but do NOT want the box
R> quotes  to make one single box spanning multiple para's, but do it intelligently
R> so  that  each  para  is  enclosed  in  a box, giving me the option of inserting
R> comments between paras.

It is a bit of a kludge, but you could try:

===QT para_bq===
%COMMENT="%TEXT"%-
%COMMENT="%QINCLUDE='bq2'"%-
%QINCLUDE="para_bq2"%-
%COMMENT=""
===/QT para_bq===

===QT para_bq2===
%IF:"%-
%-%-%-%SETPATTREGEXP='\|(.+)\n?(\|\s*?\n)+'%-
%-%-%-%REGEXPMATCH='%COMMENT'%-
"<>"":"%-
,----- [ %CURSOR ]
%SETPATTREGEXP='(\|.+?\n?)(\|\s*?\n)+'%-
%REGEXPMATCH='%COMMENT'
`----- [  End  ] -----
%COMMENT=_
%-%-%-%SETPATTREGEXP='(\|.+?\n?)(\|\s*?\n)+(.*)'%-
%-%-%-%REGEXPBLINDMATCH='%COMMENT'%-
%-%-%-%SUBPATT='3'_%-
%QINCLUDE='para_bq2'%-
":""
===/QT para_bq2===

This assumes that you have the box quoting recursive template bq2, and
that you are using "|" as the prefix.  Hope that helps.


-- 
Thanks for writing,
 Januk Aggarwal

I've determined the momentum of my physics assignment so precisely
that it can be anywhere in the universe right now.


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

Reply via email to