scalatra/scalatra — Issue #147: Named capturing groups
Author: rossabaker
Created: 2011-12-18 05:08:02+00:00
State: open
Labels: enhancement

Ruby 1.9 supports named capturing groups, which [Sinatra handles](http://www.sinatrarb.com/blog#named_captures_on_19)

This feature is introduced in [Java 7](http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#groupname). We could sniff for Java7, or consider [JRegex](http://jregex.sourceforge.net/). Not sure how compatible JRegex is with java.util.Regex.

Low priority.