/* * call-seq: * mtch.string => str * * Returns a frozen copy of the string passed in to <code>match</code>. * * m = /(.)(.)(\d+)(\d)/.match("THX1138.") * m.string #=> "THX1138." */ static VALUE match_string(match) VALUE match; { return RMATCH(match)->str; /* str is frozen */ }