procmail
[Top] [All Lists]

matching, error in man page?

1997-09-24 05:44:36

Hi there!

I have procmail v3.11pre4 of 1995/10/29 running here and I observed, that
it seems to match multiple lines (in this case an extended 'To:' header
line; and I did not use 'formail -c' before, so they really get feeded as
different lines) with this regexp in a condition line:

* ^To:[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+

On the other hand, the man page procmailrc(5) says about ranges:

     [^-a-d]   Any character which is not either a dash, a, b, c,
               d or newline.

This is obviously ambiguous, but I think it most probably means "any
character, which is not in the set {'-', 'a', 'b', 'c', 'd', nl}".

So, what's wrong - my understanding, the manual or the implementation?

Thank's for your input.

        robert

-- 

  Robert Klemme 
    computer science and philosophy 
      at University of Paderborn, Germany 
        mailto:kle(_at_)uni-paderborn(_dot_)de 

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