-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
Perhaps I've missed a message about filtering using RegExps, but since
I got the hang of using this great feature, I managed to create a real
puzzle for myself. :(
As soon as I discovered the power of RegExps I decided that I could
use them for at least one annoying host, that keeps sending me weekly
mails from different addresses.
I'm having a homepage at Xoom.com and they like to send mails with all
kind of information. I'm not really interested in what they have to
say, but, sometimes I like to read a topic or two, so I want to set
the mail aside in a folder of later reading.
The address Xoom uses to send the email is different everytime.
They use the message-ID in the From: so every message is unique
(Argh).
I figured out that using a RegExp I could filter the messages anyway,
so I created this beauty (Well, it's my first, so she beautiful ;)):
Strings:
%SETPATTREGEXP="(?m-s)(From:\s+)("".*""\s+<\w+)(-\w+-)(\w.*)"%REGEXPBLINDMATCH="%HEADERS"From:
"XOOM.com/NBCi" <unsubs%SUBPATT="3"thewizzonnet.nl>
Location:
Kludges
Precense:
Yes
The RegExp matches exactly the From: in the Kludges. (I tried it using
a QuickTemplate)
The only thing that this thing does is to extract the MessageID, so I
can recreate the From:. I thought I finally had it all right, but TB!
ignores the filter, as if it doesn't matches.
Am I doing something wrong, or did I understand the usage of Regexp in
the filters?
- - ---
Cheers,
Marcel <[EMAIL PROTECTED]>
...... Kryten: Sir, I beg you to reconsider. If not for your sanity, you
haven't even considered the moral implications of your
decision.
You will be joining a society where you will be compelled
to have sex with beautiful, brilliant women, twice daily,
on demand.
Now, am I really the only one here who finds that just a
little bit tacky?
((C) Red Dwarf, "Holoship")
- ---Using The Bat! 1.45 under Windows 95 4.0 Build 1111
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
iQA/AwUBOc+CkptVOcettUE+EQKF3QCeMhBL1GrzL6ODHe3Z2mpiI4COQacAnjfo
jPuGNQriSRPmTpWRiWipHrMs
=dKys
-----END PGP SIGNATURE-----
--
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]