{"action":"closed","issue":{"url":"https://api.github.com/repos/arrizalamin/october-portfolio/issues/14","labels_url":"https://api.github.com/repos/arrizalamin/october-portfolio/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/arrizalamin/october-portfolio/issues/14/comments","events_url":"https://api.github.com/repos/arrizalamin/october-portfolio/issues/14/events","html_url":"https://github.com/arrizalamin/october-portfolio/issues/14","id":115034113,"number":14,"title":"Wrong validation regex in Tag model","user":{"login":"alvaro-canepa","id":5142298,"avatar_url":"https://avatars.githubusercontent.com/u/5142298?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaro-canepa","html_url":"https://github.com/alvaro-canepa","followers_url":"https://api.github.com/users/alvaro-canepa/followers","following_url":"https://api.github.com/users/alvaro-canepa/following{/other_user}","gists_url":"https://api.github.com/users/alvaro-canepa/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaro-canepa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaro-canepa/subscriptions","organizations_url":"https://api.github.com/users/alvaro-canepa/orgs","repos_url":"https://api.github.com/users/alvaro-canepa/repos","events_url":"https://api.github.com/users/alvaro-canepa/events{/privacy}","received_events_url":"https://api.github.com/users/alvaro-canepa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T11:36:16Z","updated_at":"2015-11-04T12:57:17Z","closed_at":"2015-11-04T12:57:17Z","body":"The regex in the validator rule doesn't work with hyphens.\r\nMy fix\r\n\r\n```php\r\n    public $rules = [\r\n        'name' => 'required|unique:arrizalamin_portfolio_tags|regex:/^[a-z0-9-_]+$/'\r\n    ];\r\n```\r\n\r\nThanks"}}