Hrvoje Niksic wrote:
Wincent Colaiuta <[EMAIL PROTECTED]> writes:

Are you sure that "www-*" matches "www"?


hrvoje is right. try this perl script:

#!/usr/bin/perl -w

use strict;

my @strings = ("",

foreach my $str (@strings) {
    $str =~ /www-* or print "$str doesn't match\n";

both the strings match.

Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi                

University of Ferrara - Dept. of Eng.
GNU Wget - HTTP/FTP file retrieval tool
Deep Space 6 - IPv6 for Linux  
Ferrara Linux User Group       

Reply via email to