procmail
[Top] [All Lists]

invalid regexp?

2001-12-13 21:08:37

Hiya.

I have a recipe with a condition that's supposed to strip /-[0-9]+/ off
the end of MATCH.  I.e. it'll convert "foo-bar-123" to "foo-bar", or
"bleh-987" to "bleh".  It goes a little something like this:

        * MATCH ?? ^\/[a-z0-9-]+[^(-[0-9]+)]

but it's giving me an error:

        procmail: Invalid regexp "^\/[a-z0-9-]+[^(-[0-9]+)]"

What's wrong with it?  It doesn't look particularly wrong to me....

Tnx.

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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