in reply to Re: Re: Regular Expression
in thread Regular Expression
All letters in alphabetical order (not regex):if ($word =~ /(.)\1/) ...
if (lc($word) eq join "", sort split //, lc($word));
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
|
|---|