Re: [Exim] [root@charlotte.intern.cats.ms: Bug#53140: direct…

Pàgina inicial
Delete this message
Reply to this message
Autor: Vadim Vygonets
Data:  
A: exim-users
Assumpte: Re: [Exim] [root@charlotte.intern.cats.ms: Bug#53140: director suffix option problem]
Quoth Kai Henningsen on Mon, Mar 27, 2000:
[regexp]
> Well, so it does match the longest for cases that correspond to
> Exim's suffix handling, but maybe not in other cases :-)


Maybe the solution is to rewrite '-* : .*' suffix match as the
regexp '^[-.].*$'. But it will require changing the variable
from string-list to magic-string-list-parsed-and-rewritten-as-regexp.
Which is ugly. Making it a plain regexp will be an incompatible
change. Making it a regexp only if it starts with ^ is not great
either.

But in general, I agree that it would be nice if such suffices
matched the leftmost suffix, just as a regexp would do.

See you in Cambridge,
Vadik.

--
Real software engineers don't debug programs, they verify correctness.
This process doesn't necessarily involve execution of anything on a
computer, except perhaps a Correctness Verification Aid package.