[Mimedefang] FOLLOWUP Q - Using a db for subject lines to blo ck
Matthew.van.Eerde at hbinc.com
Matthew.van.Eerde at hbinc.com
Thu Jun 23 11:49:22 EDT 2005
Matthew.van.Eerde wrote:
> Matthew.van.Eerde wrote:
>
> # $lc_subject eq 'f r e e stuff'
>
> 1 while $lc_subject =~ s/\b(\S) (\S)\b/$1\t$2/g;
This is probably still too loose. \S should really be \w...
1 while $lc_subject =~ s/\b(\w) (\w)\b/$1\t$2/g;
Otherwise it will match on things like
[Mimedefang] a question:
bS Sb
where the first \b is between "g" and "]", and the second is between "a" and " "
--
Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"
More information about the MIMEDefang
mailing list