OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: regexp filter question
From: Admin Mailing Lists (mlistintergrafix.net)
Date: Thu Nov 02 2000 - 08:12:20 CST


Hi,

I'm trying to create a Subject: line filter in header_restricts with a
regexp. The filter should reject a line containing at least 5 spaces,
surrounded by text. It should not reject a subject line that is all
spaces.

I tried: /^Subject: [^ ]([^ ]*) ( *)[^ ]([^ ]*)/ REJECT

which seemed to work in prelim. testing, but later on seemed to let
through subjects that had a space in the text before the 5 spaces, i.e.
"Subject: this is a test test"

can anyone tell me, give me a regexp line to do what i described?

Thanx,

-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
thelittleprinceasteroid-b612.org Intergrafix Internet Services

    "Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.