From: Dave Thomas Date: 2000-01-13T17:57:59-06:00 Subject: [ruby-talk:01139] Bug in String ruby> a = 'abcdef' "abcdef" ruby> a[1] = a "aaaaaaacdef" ruby> I think it's because str_replace uses memcpy on an overlapping string (two copies of RSTRING(a)->ptr in this case). memcpy is specified not to work on overlapping strings. I could produce a patch if you want. Regards Dave