Hi Marck,

It was foretold that on Monday, December 24, 2001 at 03:51 GMT +0000,
Marck D Pearlstone [MP] would type:

MP> There's a slight niggle with this. I've been using it for a while now
MP> and it plays havoc with <g> and <wide smile> type comments.

Interesting.  I hadn't noticed this side effect, but it does make
sense.

MP> If you change the two marked '*' to '+', it works better (although
MP> still not perfect). Of course, it will then fluff jam quoted stuff
MP> from other clients, like ">he said..." with no space.

Yes, and it isn't as error tolerant.  I don't like those types of
concessions.

Here is the problem you're talking about, right?

=-=-= Test =-=-=
Ok, here is a <test>
<g>

And another test.
<vbg>
=-=-= End =-=-=

==== Result =====
Ok, here is a <test> <

And another test. <vbg>
==== End ====

It seems I have solved it (it wasn't easy) using:

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

The test result is:

==== Result ====
Ok, here is a <test> <g>

And another test. <vbg>
==== End ====

It appears the macro works better than ever with quoted and unquoted
material, but I've only used a small test set.  I appreciate the
feedback.

-- 
Thanks for writing,
 Januk Aggarwal

Is it OK to use the AM radio after noon?


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

Reply via email to