I've been using Regex in Scala 2.7 as part of a project and have a couple of suggestions to improve it.
1. Introduce a new method, findAllMatchIn, that returns a MatchDataIterator. The other find methods of Regex generally have a findXxx and findXxxMatch variants, but in the case of findAllIn, there is only one that returns MatchIterator. To get an iterator over MatchData objects, one must call matchData on the iterator. Making this change would make the findAllIn API consistent with the other find interfaces. Deprecate the matchData method of MatchIterator.
2. In RichString, introduce an r(groupNames: String*) method to complement the existing .r method, which does not accept group names.