hi all,

how to write this regex in Rails 2.3.4 ,Ruby:1.9.2 and gem :1.8.12

map.connect '/:slug', :controller => 'expert', :action =>
'view_expert_brief',:slug=>/^([a-z]|[A-Z])*$/

thanks in advanced.

Regards
Sachin S. Kewale
-- 
(¨ `·.·´ ¨) Always
`·.¸(¨ `·.·´ ¨) Keep
(¨ `·.· ´¨)¸.·´ Smiling!!
`·.¸.·´

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to