Routes.rb: can I use case-insensitive regular expressions?

Dear all,

I have something like this in routes.rb:

map.connect ‘:test’, :controller => ‘help’, :requirements => { :test
=> /apple/i }

But then, the URL “/apple” works but “/APPLE” does not!

Why doesn’t the i-for-case-insensitive work?

Thanks for any advice,
AK