From: Yui NARUSE Date: 2011-02-17T14:13:47+09:00 Subject: [ruby-core:35274] [Ruby 1.9-Bug#4359][Rejected] regular expressions created with Regexp::FIXEDENCODING have incorrect inspect Issue #4359 has been updated by Yui NARUSE. Status changed from Feedback to Rejected > I suppose I could add a special case, but that seems strange. It also > seems strange that inspect will not allow us to differentiate between > regular expressions with different options. inspect shows only essential information and for human readings. The usage for machine processing is wrong way. (The practical problem is Regexp#inspect provides the output like a regexp literal but there is no general syntax for fixed_encoding) What is Object#inspect is arguable point but I think it is what provides the output for p method or irb. see also http://redmine.ruby-lang.org/issues/show/735 ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4359 ---------------------------------------- http://redmine.ruby-lang.org