On Sun, 21 Mar 2004 09:41:18 -0600
Michael Sims <[EMAIL PROTECTED]> wrote:
> Your regex pattern isn't terminated. You need a "/" at the end of it.
>
Thanks Michael, see I knew it was a simple regex type thing! It's really time I read
through the Debian Reference Manual which explains regular expressions, at least a
basic intro anyway.
Once I've done that, hopefully I shouldn't need to bug all you nice people on this
list anymore...
> open(HEADERS, '< ./HEADERS');
> while (<HEADERS>) {
> if (/^X-Habeas-SWE/i
> || (/^X-Telstra-AS-Scanner: .*?, (.*?)% /i
> && $1 >= 90)) {
And thanks again, at least I now know what the "or" expression is. I'll put this in
tonight and see how it goes.
Oh, and with the original filter component you gave me, well, the first email I got
containing the headers was only 83%... so I guess I'll reduce it from 90 to 80...
Thanks heaps!
Pete
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang