Since what version of Ruby does "String#split /(whatever)/" returns the delimiters in the result? In other words, since what version it's possible, as in Perl, to put parentheses is the regexp and have them returned? (I'm using Ruby 1.8) I've looked into the documentation of String#split, but it doens't mention this feature, so I'm asking you. <rant> That's exasperating. In the past I used to love Ruby. But nowadays you have to be a lawyer, or a historion, if you want to use it. There are several "version 1.8" with different APIs and whenever you want to use some feature you're worried perhaps it won't be supported by whoever runs your program. "Writing Ruby is like writing literature" my foot. </rant> -- Posted via http://www.ruby-forum.com/.