From: "Mauricio Fernández" Date: 2002-08-23T06:59:12+09:00 Subject: Re: split warning On Fri, Aug 23, 2002 at 02:12:39AM +0900, mengx@nielsenmedia.com wrote: > Thanks. > > I just browsed several records and seemed to me that > quite a few people (and including me) like to see that > "split" based on argument type. If it is a string, then > use string as the separator. For Regexp, use the Regexp. > This is basically the Ruby way to overload "split" method. > > Was there a final decision on this? A lot of codes could break > due to this change. I've read the thread and matz' last word on this is that split will work the way you describe it, ie strings longer than 1 char will not be converted to Regexp anymore. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Linux is obsolete -- Andrew Tanenbaum