Hi,

In message "Re: [ ruby-Bugs-5450 ] String#split includes match groups in result"
    on Fri, 18 Aug 2006 06:07:01 +0900, <noreply / rubyforge.org> writes:

|Summary: String#split includes match groups in result 

|Is this the intended behaviour?

Yes.

|Shouldn't the result be ["en", "it", "ru-RU", "ar", "he"] instead?

It's inherited from Perl.  Use (?: ) grouping.

							matz.