instance method
Regexp#hash
() -> ::Integer
hash → integer
re.c
View on GitHub ↗
VALUE
rb_reg_hash(VALUE re)
{
st_index_t hashval = reg_hash(re);
return ST2FIX(hashval);
}
Returns the integer hash value for self.
Related: Object#hash.