Upgrade to 1.2 causes routes.rb not work

I wrote an application under rails 1.1.6. I have wrote routes to handle URL like:    http://somewhere.org/some_action/<prj\_name>/<file\_name> This routes.rb worked great till I upgrade to rails1.2. The reason behind is that:

1. Both prj_name and file_name in my case contain "." and 2. In Rails1.2 route like "/abc/:def" would generated a regular expression like /\A\/abc\/([^\/;.,?]+)\/?\Z/

Are there any workaround? I don't want a silly replacement from "." to "_".

From the Rails 1.2 notes about routes:

:requirements => { :proj_name => /.*/, :file_name => /.*/ }