Hallo Andrew, On Tue, 18 Mar 2003 10:12:29 +0100GMT (18-3-03, 10:12 +0100, where I live), you wrote:
>> Change the line to include %- on the end, so it'd be: AA> I'd done that right away, but that's not enough. AA> Here's what I have so far in my "Save Message" template: AA> %SETPATTREGEXP="(?m-s)(Newsgroups:.*)"%- AA> %REGEXPBlindMATCH="%HEADERS"%subpatt="1"%- AA> %IF:"%ToList"="":"":" AA> To: %OToList"%- AA> %IF:"%CCList"="":"":" AA> CC: %CCList" AA> If I use this on a message that has no "Newsgroups:" kludge, I AA> have a leading carriage return. Yep, you're right. However, even when you delete the regexp, you still get an empty line, because it's not created by the newsgroups code, but by the if-macro for the %tolist. The way you're creating your %if statements generates additional linefeeds, you're masking that by adding %- to the previous line, but that won't work if there is no previous line. -- Groetjes, Roelof ________________________________________________________ Current version is 1.61 | "Using TBTECH" information: http://www.silverstones.com/thebat/TBUDLInfo.html
