Hi! Consider the following route: map.detail "subscription_plans/:provider/:plan", :action => "detail", :requirements => {:plan => /[^ ]+/}
I want this route to match any string _without_ a space character. So "Telfort-100" matches "Telfort 100" does not. I believed this to be correct but it's not. Including anchors ('\A' '$' etc) is not allowed. How else can I fix this? Harm --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---