From: Gavin Kistner Date: 2005-11-30T00:21:04+09:00 Subject: Re: Record-separator is a regular expression On Nov 29, 2005, at 7:08 AM, James Edward Gray II wrote: > On Nov 29, 2005, at 7:51 AM, Gavin Kistner wrote: >> On Nov 29, 2005, at 6:22 AM, William James wrote: >>> Unlike Gawk and Mawk, Ruby won't accept a regular expression as a >>> record-separator. >> p data.split( /-+| +|\n/ ) >> #=> ["name", "age", "size", "Gavin", "32", "33"] > > William is talking about the separator used by IO objects, $/. Ah...thanks :)