Hello Ravi,

It was foretold that on Saturday, September 21, 2002 at 23:28 GMT
+0100, Ravi [R] would type:

R> Hi Januk,

>> Yes, but the version you have in your last message has this
>> written correctly. So that doesn't appear to explain your
>> problem.

R> Right you are. I meant to post about that one - I couldn't
R> understand it.

R> The exact template I used before (which caused TB to freeze) I
R> cut it and pasted it into another account - and it worked!

R> Didn't change a thing .. so I'm a bit confused. I don't think
R> it's supposed to make a difference which account the QT is in so
R> long as it's shared among all accounts.

R> Question: Does this number %-%-%-%-%-%SUBPATT="7"_%- ^ control
R> the number of recursions, or the level of quote nesting or what?
R> Because ... some versions of wrap2 have different numbers.

Nope, the %- macros at the beginning of a line are simply there as
place holders so it is marginally easier to read the template.

The %SUBPATT="7" refers to the part of the regular expression that we
want to use at that point.  Since we already wrapped the first
paragraph, you only want to send the remaining paragraphs on to the
next iteration of the wrap2 template.  The number is determined by the
number of sets of parentheses in the regular expression.  In this
case, you could say that the number depends on the complexity of the
regular expression.  Each version has tried to improve the accuracy of
the template in general.  Since that's controlled by the regular
expressions, they become more complex whenever I discover a case
which causes the template to fail in creating the expected output.

-- 
Thanks for writing,
 Januk Aggarwal

People are more violently opposed to fur than leather because it's
safer to harass rich women than motorcycle gangs.


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

Reply via email to