Hi Allie,

An archeological dig discovered that on Thursday, October 4, 2001 at
18:55 GMT -0500, Allie C Martin [AM] typed the following:

AM> It takes some tenacity to get good at it. No wonder only professionals
AM> do this sort of thing to any great degree. It may seem complicated but
AM> what I'm doing isn't advanced by regex standards. :-)

I've been trying to get a working macro too, and this one is a tough
one.  I think the hard part is that everything is variable, so there
are some weird interactions.  The subject could be any one of the
following:

(subject)
[Flamer]: (subject)
[Flamer]: Re: (subject)
Re: [Flamer]: (subject)
Re: [Flamer]: Re: (subject)

I think that's all of them, except for mutations where "fwd" replaces
"re".  However, those are all of the same form.  This is what I've
gotten, and it seems to work:

%SUBJECT='[Flamer]: %-
%SETPATTREGEXP="(?i)^(Re\:\s*|Fwd\:\s*)?(\[Flamer\]\:\s*)?(Re\:\s*|Fwd\:\s*)?(.*?)$"%-
%REGEXPBLINDMATCH="%OFULLSUBJ"%-
%SUBPATT="1"%SUBPATT="4"'

-- 
Thanks for writing,
 Januk Aggarwal

Using The Bat! 1.54 Beta/8 under Windows 98 4.10 Build 2222 A

Is it OK to use the AM radio after noon?


-- 
______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to