Hello Cyril,

It was foretold that on Friday, October 5, 2001 at 15:54 GMT +0200,
Cyril MALKA [CM] would type:

CM> First of all, thanks a lot for your great help. Hope I haven't been
CM> too much of a pain in the ... bottom...

Not at all.  You've just given us a challenge that is harder than it
seems at first.  That's always welcome.  ;-)

CM> It does work actually... Well... It didn't at first, but I found out
CM> that it was because you wrote "flamer" in English indstead of in
CM> Danish (flammer)... You'll have to work on you Danish :-)

<sigh>  Sorry about that, I should have read the thread more
carefully.

CM> Now... if I want to adapt it to the "&%�"� Outlook Express, where it
CM> writes an 'SV:' in front instead of the 'RE:' Can I just replace the
CM> Re in the expression with Sv?

No problem.  You can just add it to the list of options:
%SUBJECT='[Flammer]: %-
%SETPATTREGEXP="(?i)^(Re\:\s*|Fwd\:\s*|Sv\:\s*)?(\[Flammer\]\:\s*)?(Re\:\s*|Fwd\:\s*|Sv\:\s*)?(.*?)$"%-
%REGEXPBLINDMATCH="%OFULLSUBJ"%-
%SUBPATT="1"%SUBPATT="4"'

CM> Does case of characters matter? I mean: Is there a difference between
CM> SV or Sv ?

No it does not because we're using the (?i) option to make the search
case insensitive.

CM> May I ask two questions?

Including this one? <g>

CM> 1. What does the Fwd in the expression means? Does it mean that it
CM> should work if people Forward something and there is Fwd instead of Re
CM> it'll work too?

I thought one of your original parameters was that you wanted the
forward *and* reply marks kept.  So yes, the regexp will work if there
is Fwd, Re or Sv as the "reply prefix".

CM> 2. Do you guy ever sleep?

Don't forget that we're in vastly different time zones (Here: Pacific
Time GMT -0700). That means there is a 9 hour time difference between
you and me.  Allie appears to be on Central Time (GMT -0500), so there
is a 7 hour time difference between the two of you.

-- 
Thanks for writing,
 Januk Aggarwal

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

OK, I'm weird! But I'm saving up to become eccentric.


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

Reply via email to