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

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Kai Henningsen
CC: exim-users
Assumpte: 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.