too many blank lines in 'wq'

2002-08-21 Thread Robert D.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I use the word wrapping template wq and it's *part two*, it works
very well. Except that, at the end of the quoted text, I get about twenty
blank lines.

I went thru and checked for %-, and it was there, in may places.

What else could I do to cut the blank lines?
- --

Thanks for the help ...
Robert  D.
___
The Bat! ver. 1.62/Beta1
Windows ME- 4.90 Build:3000.
IE 5.5 sp2
PGP 6.5.8ckt 09b3
Kerio FW 3.0 Beta
Proxomitron 4.3
IEClean 6.0
BoClean 4.10.004
SetiQueue 3.03.2 2b

Public Key located at:
mailto:[EMAIL PROTECTED]?subject=0x1D14AF5FBody=Please%20send%20keys


-BEGIN PGP SIGNATURE-
Version: 6.5.8ckt http://www.ipgpp.com/

iQA/AwUBPWQIthUUkTAdFK9fEQIK5QCdHCVnxlRofcfsyu+/P3QDyTbyqIwAoPx8
vhbPTBGx9nXU05IdRaGBr324
=qV3U
-END PGP SIGNATURE-


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




Re: too many blank lines in 'wq'

2002-08-21 Thread Januk Aggarwal

Hello Robert,

On Wednesday, August 21, 2002 at 21:47 GMT -0400, special agents were
informed that Robert  D. [RD] leaked:

RD What else could I do to cut the blank lines?

Until you post the exact versions you're using, we can't do much to
help.  You don't say what the wq template is supposed to do.  I assume
you mean the wrap macro which is posted on Marck's macro site?

If that's the case, then you can use an updated version of wrap2.

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

%COMMENT=_%SETPATTREGEXP=(?is-m)^.*?(\n((\w{0,5}(\\s*)+)?\n)+(.*?)\s*$|\z)%-
%-%-%-%-%-%REGEXPBLINDMATCH=%COMMENT%-
%-%-%-%-%-%SUBPATT=5_%-
%QINCLUDE=wrap2'
=[ End  wrap2]=

If that doesn't do the trick, then you can always use a new wq
template:

=[Begin wq]=
%COMMENT=%QUOTES%-
%SETPATTREGEXP='(?s-m)^(.*?)\s*$'%-
%REGEXPMATCH='%QINCLUDE=wrap2'%-
%COMMENT=
=[ End  wq]=

-- 
Thanks for writing,
 Januk Aggarwal

Personal Plan:  To avoid sanity, lucidity and wit at all costs.


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