procmail
[Top] [All Lists]

Re: match problem or procmail bug: anti pharmaceutical SPAM filter

2005-05-12 06:21:25
Ralph SOBEK schreef:

bs = "\\"
spc = "([-.,@#$%&*()+=|:;!^_/1$bs])?"
a = "([a(_at_)]|/$bs)"
i = "([íi|1le]|ii)"
l = "[l1]"
o = "[o0]"
v = "(v|$bs/)"

This will work more as you expect things to work:

  sep = '[^a-z02-9]?'
  a   = '([aäáâà(_at_)]|/[\])'
  i   = '([íi|1le]|ii)'
  l   = '[l1]'
  o   = '[oöóôò0]'
  v   = '(v|[\]/)'
  m   = '(rn)'
  g   = '[g9]'

I would name them RE_sep, RE_a, RE_i, etc.
to make the names tell you that it is a regexp.
This because a non-regexp-var should be used
as $\var within a regexp.

Another code-hint:  OR = '9876543210^0'


 Is this a procmail bug?

No, it is still in your brain.

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>