Approximate regex equality