but
a= “a”
a.slice(/b/) does not raise IndexError, as indicated
in Matz’s e-mail.
Thanks
-Ted
···
From POP3 Wed Jul 10 12:40:15 EDT 2002
Date: Thu, 11 Jul 2002 01:34:41 +0900
Posted: Wed, 10 Jul 2002 18:29:47 +0200 (MET DST)
From: ts decoux@moulon.inra.fr
Subject: Re: slice! breakge?
To: ruby-talk@ruby-lang.org (ruby-talk ML)
Cc: ruby-talk@ruby-lang.org
X-ML-Name: ruby-talk
X-Mail-Count: 44229
X-MLServer: fml [fml 3.0pl#17]; post only (anyone can post)
X-ML-Info: If you have a question, send e-mail with the body
“help” (without quotes) to the address ruby-talk-ctl@ruby-lang.org;
help=mailto:ruby-talk-ctl@ruby-lang.org?body=help
Is it a bug or intended ?
Intended : [ruby-talk:41573]
Guy Decoux