Hi Leif, On Thu, 18 Sep 2003 12:58:34 -0600, Leif Gregory wrote
> Here's what I got so far. Don't laugh! <grin> It doesn't work, at > least it doesn't put the number after the word "approve". > %SETPATTREGEXP="moderat(\w+)\s(\w+)\s(\d+)" > %CLEAR > login password > moderate approve %SUBPATT="3" The expression looks like it should work. If you want to tweak your expression, I would have put an anchor for the beginning of the line, make the number of whitespaces variable and set the ignore case option explicitly. I'm probably going overboard, but that's a matter of personal preference. The reason it doesn't have a hope of working at the moment is that you forgot to tell TB to actually match anything. Ie, you forgot the %RegExpBlindMatch="% Text"%- part. Add it somewhere after the %SetPattRegexp and before the % SubPatt macros. -- Good luck, Januk PS: I'm not using TB for this message, so if the quote delimiter doesn't work, it's not my fault...really! ;-) ________________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html
