From: Yukihiro Matsumoto Date: 2009-09-17T17:37:43+09:00 Subject: [ruby-core:25626] Re: [Bug #2109] Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243 Hi, In message "Re: [ruby-core:25625] [Bug #2109] Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243" on Thu, 17 Sep 2009 17:31:25 +0900, Stefano Crocco writes: |In ruby 1.9.1-p243, attempting to dump and load again an array containing two or more Regexps gives an error. For example, the following code: | |str = Marshal.dump [/a/, /b/] |Marshal.load str | |gives this error: | |prova.rb:2:in `load': can't convert Regexp into String (TypeError) | |The above code worked perfectly with ruby 1.9.1-p129. This is happening in Gentoo Linux. It doesn't happen on trunk. Could anyone reproduce this one? matz.