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
In reply to Re: Re: Re: Regular Expression
by antirice
in thread Regular Expression
by optikool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |