Equality—Two matchdata are equal if their target strings, patterns, and matched positions are identical.