* Robin Anson <[EMAIL PROTECTED]> writes:

> I have a useful quick template created at some stage by Carsten Th�nges
> that allows me to include blank lines in the quoted text in my reply
> template. Unfortunately this breaks in v2.

This is the new version:

--8<---------------cut here---------------start------------->8---
%REM=' quote_bl - Quoting includes blank lines
       written by Carsten Thoenges, December 2001
       Last modified: 2003-09-10 (needs TB! V2.0)
'%-
%If:`%_qblFirstTime`==``:`%-
%___%_qblFirstTime="No"%-
%___%-
%___%SetPattRegExp="(?ism)\A\n*(.*?\n)\n*\Z"%-
%___%_qblText="%RegExpMatch(%Quotes)"%-
%___%-
%___%SetPattRegExp="^(.{0,50}?>+ )"%-
%___%_qblPrefix="%RegExpMatch(%QHeaders)"%-
`%-
%SetPattRegExp="(?ism)\A(.*?\n)(.*)\z"%-
%RegExpBlindMatch(%_qblText)%-
%_qblLine="%SubPatt(1)"%-
%_qblText="%SubPatt(2)"%-
%-
%SetPattRegExp="(?ism)(\S*?)\s*\n"%-
%If:"%RegExpMatch(%_qblLine)"=="":"%-
%___%_qblPrefix
":"%-
%___%_qblLine"%-
%-
%If:`%_qblText`==``:`%-
%___%_qblFirstTime="No"%-
%___%_qblLine=""%-
%___%_qblPrefix=""`%-
:`%-
%___%QInclude(quote_bl)`%-
--8<---------------cut here---------------end--------------->8---

HTH.
-- 
Carsten


________________________________________________
Current version is 2.00 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to