{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/3538","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/3538/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/3538/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/3538/events","html_url":"https://github.com/aspnet/Mvc/issues/3538","id":116462164,"number":3538,"title":"Regexpre attribute should has 3 parameters to localize","user":{"login":"Anderman","id":1858745,"avatar_url":"https://avatars.githubusercontent.com/u/1858745?v=3","gravatar_id":"","url":"https://api.github.com/users/Anderman","html_url":"https://github.com/Anderman","followers_url":"https://api.github.com/users/Anderman/followers","following_url":"https://api.github.com/users/Anderman/following{/other_user}","gists_url":"https://api.github.com/users/Anderman/gists{/gist_id}","starred_url":"https://api.github.com/users/Anderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anderman/subscriptions","organizations_url":"https://api.github.com/users/Anderman/orgs","repos_url":"https://api.github.com/users/Anderman/repos","events_url":"https://api.github.com/users/Anderman/events{/privacy}","received_events_url":"https://api.github.com/users/Anderman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T01:50:55Z","updated_at":"2015-11-12T01:50:55Z","closed_at":null,"body":"RangeAttribute has 3 paramaters and should be localized like\r\n\r\n_stringLocalizer[Attribute.ErrorMessage,displayName, regex]\r\n\r\nsetup\r\n\r\n        [Display(Name = \"PwPassword\", ResourceType = typeof(loc))]\r\n        [RegularExpression(\"regex\", ErrorMessage = \"field {0} should be like {1} \")]\r\n        public int Custom { get; set; }\r\n"}}