compares before match and after match together, for better results. supports a validator function in the reference.