method

hash

hash()
public

Produce a hash based on the target string, regexp and matched positions of this matchdata.

See also Object#hash.