Autor: Phil Pennock
Data:
Para: exim-users
Assunto: Re: [Exim] Weird (stupid?) rewrite question
On 2000-10-03 at 14:14 -0400, Peter Radcliffe gifted us with:
> ^(?i)[^@]+@mg[^.]+.my.domain bob@???
> ^(?i)[^@]+@bp[^.]+.my.domain bob@???
Wouldn't that rewrite <fred@mg@???> to <bob@???> ?
Yours is probably more efficient than this, but surely:
^(?i).+@mg[^@.]+.my.domain bob@???
^(?i).+@bp[^@.]+.my.domain bob@???
is more accurate?
And now someone will either optimise that, or explain why I'm wrong.
;^)
--
Civilisation: where they cut down the trees and name streets after them.