If I have a route like this:
routes.Add(new Route("{controller}/{page}",
new RouteValueDictionary
{
{ "page", UrlParameter.Optional }
},
new RouteValueDictionary
{
{ "page", @"[Pp]age\d+" }
},
new MvcRouteHandler()
));
Then the route doesn't match when {page} is missing, however if I remove the constraint it matches. Is this a bug or a feature?