* John Morse <[EMAIL PROTECTED]> writes:

> How would I modify the regular expression so that it only removes
> blank lines from the message that I am quoting.

--8<---------------cut here---------------start------------->8---
%If:`%_rblFirstTime`==``:`%-
%___%_rblFirstTime="No"%-
%___%_rblText="%Quotes"%-
`%-
%SetPattRegExp="(?ism)\A(.*?)(\n{2,})(.*?)\z"%-
%RegExpBlindMatch(%_rblText)%-
%If:"%SubPatt(2)"<>"":"%-
%___%_rblText='%SubPatt(1)
%______________%SubPatt(3)'%-
%___%QInclude(quotes_minus_blank_lines)":"%-
%___%_rblText"%-
--8<---------------cut here---------------end--------------->8---

This QT's name is �quotes_minus_blank_lines� so you have to replace
%Quotes by %QInclude(quotes_minus_blank_lines). If you give it
another name don't forget to adjust the %QInclude call in the QT.
-- 
Carsten


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

Reply via email to