From: matz@... (Yukihiro Matsumoto) Date: 2002-06-02T07:40:43+09:00 Subject: Re: String#slice! changed behavior Hi, In message "String#slice! changed behavior" on 02/06/01, Marcin 'Qrczak' Kowalczyk writes: |For "abcd".slice!(/x/) ruby-1.6.7 does nothing and ruby from cvs |raises IndexError. Was this change intentional? Yes. To make errors to be detected early. "abcd".slice(10) raises IndexError, so should "abcd".slice!(/x/), I thought. matz.