How to make “:requirements” for router parameter that accept any string
/ any character?
map.page ‘search/:word’, :controller => ‘search’, :requirements => {
:word => ??? }
By default it doesn’t accept “dot” in search word, so:
http://mydomain.com/search/this.is.test returns Error 404 page not
found.