Anagram pattening