RE: Problem with RE

2003-08-14 Thread Harald Becker
[- $tmp =~ /(.*)/ -] Or [- $tmp =~ /(\*)/ -] Or [- $tmp =~ /\(*\)/ -] Depending on what you want to do :) Harald > -Original Message- > From: Radovan Petrík [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 9:34 AM > To: Embperl > Subject: Problem wit

Re: Problem with RE

2003-08-14 Thread Jochen Topf
On Wed, Aug 06, 2003 at 09:34:17AM +0200, Radovan Petrík wrote: > Hi , I have problem with this code. > > [- $tmp =~ /(*)/ -] > > What is wrong ? Regexes are not shell globs. Try this: [- $tmp =~ /(.*)/ -] Jochen -- Jochen Topf [EMAIL PROTECTED] http://www.remote.org/jochen/ +49-721-388298

Problem with RE

2003-08-06 Thread Radovan Petrík
Hi , I have problem with this code. [- $tmp =~ /(*)/ -] What is wrong ? Thanks, Rado. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]