Pant, Hridyesh am Montag, 14. November 2005 04.39:
> What does this regex compares
>
> my $patternDir = '^[a-zA-Z0-9/_.\[\]-]*$'
It does compare nothing, it is just assigned to $patternDir.
When used, for instance in
$filename=~/$patternDir/;
it _matches_ if $f
What does this regex compares
my $patternDir = '^[a-zA-Z0-9/_.\[\]-]*$'
Thanks
Hridyesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>