in reply to Re: umlauts, special chars in perl regular expressions
in thread umlauts, special chars in perl regular expressions
my $string = 'e1ņe'; if ($string =~ /^\w+$/) { print "yes"; } else { print "no"; } print "\n"; __OUTPUT___ yes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: umlauts, special chars in perl regular expressions
by ysth (Canon) on Apr 22, 2004 at 01:50 UTC |