Hello Silviu,

An archeological dig discovered that on Tuesday, October 23, 2001 at
17:46 GMT +0200, Silviu Cojocaru [SC] typed the following:

SC> Ok, then, what is this regexp supposed to do?

You can do conditionals using regexps.  That's what was used before we
had the %IF macro.  %IF is a fairly recent addition.

SC> Could you provide an example ?

See the thread between Solid Snake and myself from Mid-January of this
year.  In that thread, using conditional regexps and quick templates
we made something very similar to what Jerry wants, just in another
language.  Out of the 12 or so quick templates we used in his system,
here is one of them:

%SETPATTREGEXP="(?i)(?(?=12\:[0-5][0-9]\sPM)12\:[0-5][0-9]\sPM;(.*?);|.*;.*?;(.*))"%-
%REGEXPBLINDMATCH="%OTIME;Afternoon;%QINCLUDE=""Greeting 9"""%-
%SUBPATT="1"%SUBPATT="2"

I won't bore this list explaining how this one works, but the job can
be done using regular expressions. 

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54/10 under Windows 98 4.10 Build 2222 A

Have you ever imagined a world without hypothetical situations?


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d
FAQ        : http://faq.thebat.dutaint.com 

Reply via email to