Hello TBTECH,

I am having a problem that is baffling me, makes me almost wonder if it
is a bug of the beta I am using, but first lets see if anyone can see
something wrong.

I have a QT that makes part of a larger chain of QTs, but with this one
something wrong. What is it supposed to do?
- The input is a cookie line that looks approximately:
This is the quote line that can be quite long.-/-Then author name
- The output is supposed to be:
The quote line wrapped, followed by
author name on a new line.

I thought the following QT should do the trick.

,------- [ QT wrappedcookie ] -------
| %SETPATTREGEXP="^(.*)-/-(.*)$"%-
| %REGEXPBLINDMATCH="%QINCLUDE='pickcookie'"%-
| %WRAPPED="%SUBPATT='1'"
| %SUBPATT="2"%-
`------------------------------------

On fortunately, this QT gives in my Bat!:
<empty line>
<author name>

While this:

,------- [ debug? ] -------
| %SETPATTREGEXP="^(.*)-/-(.*)$"%-
| %REGEXPBLINDMATCH="%QINCLUDE='pickcookie'"%-
| %SUBPATT="1"
| %SUBPATT="2"%-
`--------------------------

Gives:
<quoteline unwrapped>
<author name>

It isn't in the QT pickcookie, because for testing purposes I gave it a
fixed text:

This is a test of RegExp for wrapped quotelines.-/-Author

Can anyone tell me where I am going wrong? Or is this a bug in the
%wrapped macro of the 'The Bat! 1.62/Beta5'?

-- 
Best regards,
        Alinda                         mailto:[EMAIL PROTECTED]

,----- [ System ] -----------------------------------------------------
| Using The Bat! 1.62/Beta5 under Windows 2000 5.0 Build 2195 Service
| Pack 3 on a Pentium II 400 with 256MB.
'----------------------------------------------------------------------


________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to