Comparing likeness of strings without terminal colors