Actions
Bug #4359
closedregular expressions created with Regexp::FIXEDENCODING have incorrect inspect
Bug #4359:
regular expressions created with Regexp::FIXEDENCODING have incorrect inspect
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]
Backport:
Description
=begin
irb(main):001:0> x = //
=> //
irb(main):002:0> y = Regexp.new('', Regexp::FIXEDENCODING)
=> //
irb(main):003:0> [x.inspect, y.inspect]
=> ["//", "//"]
irb(main):004:0> [x.options, y.options]
=> [0, 16]
irb(main):005:0>
=end
Actions