From: Paul Brannan Date: 2001-07-13T04:38:42+09:00 Subject: [ruby-talk:17746] Re: Array#sort! returns nil when array empty On Fri, 13 Jul 2001, ts wrote: > pigeon% ruby -e 'p ("a b c :d e f".split(/:(\S.*)|\s+/) - [""])' > ["a", "b", "c", "d e f"] > pigeon% Very cool! I really like regular expressions, but I am still very much an amateur. Paul