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]