Working on default url patterns issues. 

* Also fix it so we compile regex in the conf. No need to do that in the middleware.