find anagrams by konn

t,*a=[*$<]
$><<a.select{|w|w.split(//).all?{|$c|/#$c/=~t}&&t.size==w.size}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page