Hello bats, on Wed, 31. Mar 2004 at 06:02:16 +1000 Robin Anson wrote:
>> Change the Regex pattern as follows: >> %SETPATTREGEXP='(.*?)(?:\n)?(.*)'%- > You might need (and I'm guessing 'cos I haven't tried it) > %SETPATTREGEXP='^(.*?)(?:\n)?(.*)$'%- Both should work. > See Carsten's answer to my similar question at > <mid:[EMAIL PROTECTED]> In your case you need it because your regEx "^(.*?)(?: - .*)?$" has a non-greedy .* and the second part is optional. Therefor it does not match anything and you will have to bind it to start and end.. -- shinE! GnuPG/PGP key: http://thequod.de/danielhahler.asc lifted with The Bat! 2.05 Beta/12 on Windows XP Service Pack 1. ________________________________________________ Current version is 2.04.7 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html

