= private = protected
hash()
Produce a hash based on the text and options of this regular expression.
See also Object#hash.
static VALUE rb_reg_hash(VALUE re) { st_index_t hashval = reg_hash(re); return ST2FIX(hashval); }