RE: Problems with reg expression

2002-06-10 Thread Fernando Madruga
01 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Problems with reg expression 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&

Re: Problems with reg expression

2002-06-10 Thread Carl Jolley
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/; >

RE: Problems with reg expression

2002-06-10 Thread Fernando Madruga
Sent: segunda-feira, 3 de Junho de 2002 19:01 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Problems with reg expression 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/line