/* * call-seq: * rxp.inspect => string * * Produce a nicely formatted string-version of _rxp_. Perhaps surprisingly, * <code>#inspect</code> actually produces the more natural version of * the string than <code>#to_s</code>. * * /ab+c/ix.to_s #=> /ab+c/ix */ static VALUE rb_reg_inspect(re) VALUE re; { rb_reg_check(re); return rb_reg_desc(RREGEXP(re)->str, RREGEXP(re)->len, re); }