scala/scala — pull request #142 by dcsobral (2012-01-25 19:55:19+00:00)
Title: Add a split method with limit to Regex.

Adds an overloaded split with a limit parameter that controls
how many times the splitting pattern may be applied, or whether
trailing empty strings should be returned or not. This mirrors
Java's own split method on Matcher.

Closes SI-5088.