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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Kai Henningsen
Cc: exim-users
Asunto: Re: [Exim] [root@charlotte.intern.cats.ms: Bug#53140: director suffix option problem]
On Thu, 23 Mar 2000, Kai Henningsen wrote:

> $ perl -e '$x = "A terrible catastrophe\!"; $x =~ /cat|catastrophe/;
> print "matched <$&>\n";'
> matched <cat>
> $
>
> Same as Perl, so nothing wrong as far as I can see.


Indeed, but the point is it doesn't go for the longest match, but for
the first match.

Just like     suffix = -* : .*


:-)))

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.