At Saturday, June 09, 2001, 6:20:24 AM, you decided to write that:

> See the attachment, that's my main regex, "DATUM". When used in conjunction
> with rest, smaller QTs, which contain only replacement word(s) (translation
> to Serbian), it should output something like this:

Well It's a pretty complicated one, I must admit. :)

The first thing I'd try to remedy the problem, would be to create an
%IF-packed "day of week" template, and same for months, instead of seven
qt's for days and 12 qt's for months.

This way your:

%QInclude='Day-%setpattregexp="^(.+\b),\s"%REGEXPMATCH="%oDATE"'

could be replaced with:

%QINCLUDE='DaysFromODATE'

With the 'DaysFromODATE' QT looking like this:
---------
%IF:"%ODATE"=="sunday":"nedelju":""%-
%IF:"%ODATE"=="monday":".......":""%-
.........
---------

Then, if it works, you can double-check the number-of-day thing. With all
its bugs, TB! _might_ get confused with those %QINCLUDE="%...regexp"
macros. At least IMHO and AFAIK. :))

-- 
Put knot yore trust inn spel chequers.

 |\  /|      \~~~/     \~~~/   WWW: http://maxxx.ii.com.pl (ancient)
 | \/ |  /\   > <  \~/  > <    E-M: [EMAIL PROTECTED] (no spam please)
 |____| /__\ /___\ /_\ /___\   ICQ: 3146019 (currently inactive)

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

You are subscribed as : [email protected]


Reply via email to