routing.rb help please

I have the following URL the dist lat lng all can have a decimal point in them.. I saw a really old post that suggested to use the map with a requirements list like in the rout statement. Well it doesn;t parse it correctly.. anyone care to correct the regex? this script returns a json object so google maps can put entries on the map..

http://www.domain.com/search/1/5.2/47.5678/-122.006/

map.search '/search/:type/:dist/:lat/:lng', :controller => 'search', :action => 'search',                                               :requirements => { :lat => /.*/ ,:lng => /.*/,:dist => /.*/ }