On Mon, 3 Jun 2002, Walter Usyk wrote:
> I'm having a problem with a regular expression and I hope that someone
> can help me out with.
>
> I have the following:
>
> my $envLU
> ="/vobs/spifftest/.@@/HDX.LU/lineups/.@@/HDX.LU/hdx.lu@@/main/LATEST";
> $envLU =~ s/^(.*\/)([^\/]+@@[^@@]+)$/$2/;
>
Correction to my previous post:
You'll probably need to preceed all @ in the $envLU variable with a \,
that is:
my $envLU
="/vobs/spifftest/.\@\@/HDX.LU/lineups/.\@\@/HDX.LU/hdx.lu\@\@/main/LATE
ST";
Otherwise, just use single quotes instead of double ones like this:
my $envLU
='/vobs/spifftest
Just my guess: you'll probably need to replace all @ with \@ in the
regexp...
Sem mais assunto de momento,
Fernando Madruga
ASC:DSI
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Walter Usyk
Sent: segunda-feira, 3 de Junho de 2002 19:01
To: [EMA