While I like the simplicity of URI patterns, I find I want the ability to specify a regex often. I wonder if there is someway to provide both?
Maybe: Router r = ... r.attachPattern("/some/path/.*",...); Then I could do; r.attachPattern("/some/path/(.*)",...) and then in the request get the group. We could bind the groups so that their group # is the name of the attribute: Object o = request.getAttributes().get("1"); --Alex Milowski