Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: charachter classes

by Anonymous Monk
on Aug 21, 2000 at 16:40 UTC ( [id://28791] : note . print w/replies, xml ) Need Help??


in reply to charachter classes, and a misunderstanding...

While not adding anything to what has been said this one-liner is what I thought up on seeing the question perl -ne 'print,$len=length if !/[qwertasdfgzxcvb]/i and length>=$len' /usr/dict/words oh and another word for the right hand equal to Honolulu is monopoly