method

hash

ruby latest stable - Class: MatchData
hash()
public

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

See also Object#hash.