As well, you can support regex matching and request conditions. To add a
regex match, use matching(:id => /\d+/). To match on a request
condition you can use condition(:request_method => %w(POST
HEAD)) or more succinctly request_method('POST',
'HEAD').

There are convenience methods HttpRouter#get, HttpRouter#post, etc for each
request method.

Routes will not be recognized unless #to has been called on it.

#url(name or route, *args)

Generates a route. The args can either be a hash, a list, or a mix of both.