Hello Peter,

PH>>> can please somebody explain how to use the %REGEXPTEXT=”regexp”,
PH>>> %SETPATTREGEXP=”regexp” and %REGEXPMATCH=”text” stuff in
PH>>> templates?

ST>> It's now in help of the today's revision of 1.38.

PH> Well, actually I found it - but HOW does it work?

PH> %REGEXPTEXT="t.e"

It must be %REGEXPTEXT="(t.e)" actually. I.e. The Bat! inserts the
part included into the first pair of brackets in the regexp. So, if
you use %REGEXPTEXT="t(.)e"  and the string is "the", only the "h"
character will be inserted.

In future, we will extend this. As for now, I guess, I should update
the help file again and Max should update the executable to make TB
understand regexps without brackets... :-)



-- 
Regards,
 Stefan                            mailto:[EMAIL PROTECTED]

..."What you get is a living; what you give is a life."
         - Lilian Gish, American actress 


-- 
--------------------------------------------------------------
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBBETA, double-click HERE:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------


Reply via email to