Routing error with certains emails

Rails routes wont accept a route if the email is of the form but this comes out fine (notice the s).

Infact any s present makes the system go haywire...

this is the constraint in the route...

:constraints => { :email => /([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})/ }


Try the following regexp:


Need Your Help

GridView bound manually doesn't display data at all

c# gridview

This is my first time to ask a question so please be patient with me. I've a GridView with templatefields and the datasource is a Business Logic Layer method that retrieve a list of employee via Data

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.