Hello Roelof,

Thanks, that works very well. However, if "Newsgroups:" is not present
in the kludges, a carriage return is inserted. How would the regex
need to change so that the carriage return was omitted if subpattern 1
is not present?

regards, Andy

On Tue, 18 Mar 2003 00:59:42 +0100, you wrote:
> Hallo Andrew,

> On Tue, 18 Mar 2003 00:41:37 +0100GMT (18-3-03, 0:41 +0100, where I
> live), you wrote:

AA>> I'd like to add a macro to the account "Save Message" template so
AA>> the kludges line "Newsgroups:" is saved along with the default To:
AA>> From: and Subject: lines.

> Add this to your save-message template:

> %SETPATTREGEXP="(?m-s)(Newsgroups:.*)"%REGEXPBlindMATCH="%HEADERS"%subpatt="1"

> This takes the 'Newsgroups:' part too, so you don't have to add that
> string to your template.


________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to