From: Tobias Reif Date: 2001-07-13T18:17:45+09:00 Subject: [ruby-talk:17780] Re: Regex Groups in String#split (Re: Array#sort! returns nil when array empty) > pigeon% ruby -e 'p ("a b c :d e f".split(/:(\S.*)|\s+/) - [""])' > ["a", "b", "c", "d e f"] pigeon% With 1.6.3 (2001-03-19) [i386-cygwin] ruby -e 'p ("a b c :d e f".split(/:(\S.*)\s+/) - [""])' I get ["a b c ", "d e", "f"] and not ["a", "b", "c", "d e f"] Typo? Version? -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.htm