Approximate string matching on Ziv–Lempel compressed text