perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Topf <joc...@remote.org>
Subject Re: Problem with RE
Date Wed, 06 Aug 2003 08:18:45 GMT
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  jochen@remote.org  http://www.remote.org/jochen/  +49-721-388298


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message