On Sun, Jun 11, 2006 at 06:49:30PM +0200, Adriano Allora wrote:
> yes,
> specifying the end of the string it's necessasy, but, if I write:
>
> #!/usr/bin/perl -w
>
> print STDOUT "Leggo...\n";
> while (<>)
> {
> print "$_" if /^\w{1,5}$/;
> }
>
> the script doesn't match words (but THERE ARE words of 5 or 4
> characters).
> I cannot undestand....
Neither can I. It works for me.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>