From Suffix Trees to Approximate String Matching