Regex syntax

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!!
`…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs