in reply to Re: Sorting words, keeping only words that start with a letter and contain only letter characters, and hypens, and end in a letter
in thread Sorting words, keeping only certain words
}foreach $word (split){ if($word =~ /^[a-zA-Z]([a-zA-Z]*|-[a-zA-Z])*$/){ $count{$word}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Sorting words, keeping only words that start with a letter and contain only letter characters, and hypens, and end in a letter
by Ido (Hermit) on Nov 10, 2002 at 23:17 UTC | |