intridea/grape — pull request #145 by rodzyn (2012-02-19 22:41:59+00:00)
Title: Regexp for routing params - requirements feature

I was investigating #127 bug and here is my proposal for a solution.
In this branch you can provide 'requirements' into your routing options like:

```
get '/:person_email/', :requirements => { :person_email => /.*/ } do
end
```

Or even:

```
get '/:person_email/smth/:test', :requirements => { :person_email => /rodzyn(.*)\.pl/, :test => /[A-z]/ } do

end
```

However I had to change a bit formatter middleware - now, when he can't match any formatter he always returns default one.
What do you think?