{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/10588","repository_url":"https://api.github.com/repos/zurb/foundation-sites","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10588/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10588/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10588/events","html_url":"https://github.com/zurb/foundation-sites/issues/10588","id":253302132,"number":10588,"title":"[Abide] Flags for color pattern?","user":{"login":"IamManchanda","id":4970624,"avatar_url":"https://avatars3.githubusercontent.com/u/4970624?v=4","gravatar_id":"","url":"https://api.github.com/users/IamManchanda","html_url":"https://github.com/IamManchanda","followers_url":"https://api.github.com/users/IamManchanda/followers","following_url":"https://api.github.com/users/IamManchanda/following{/other_user}","gists_url":"https://api.github.com/users/IamManchanda/gists{/gist_id}","starred_url":"https://api.github.com/users/IamManchanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamManchanda/subscriptions","organizations_url":"https://api.github.com/users/IamManchanda/orgs","repos_url":"https://api.github.com/users/IamManchanda/repos","events_url":"https://api.github.com/users/IamManchanda/events{/privacy}","received_events_url":"https://api.github.com/users/IamManchanda/received_events","type":"User","site_admin":false},"labels":[{"id":425272517,"url":"https://api.github.com/repos/zurb/foundation-sites/labels/Abide","name":"Abide","color":"1d76db","default":false},{"id":67281295,"url":"https://api.github.com/repos/zurb/foundation-sites/labels/javascript","name":"javascript","color":"f0db4f","default":false}],"state":"open","locked":false,"assignee":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars1.githubusercontent.com/u/827205?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"assignees":[{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars1.githubusercontent.com/u/827205?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-08-28T11:34:20Z","updated_at":"2018-03-29T19:20:19Z","closed_at":null,"author_association":"COLLABORATOR","body":"I am regular expression these days and I am amazed why aren't we using flags \r\nSee => [Regular Expressions - Advanced searching with flags](https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions#Advanced_searching_with_flags) \r\n\r\nWhat i mean here is for example => [foundation.abide.js#L562](https://github.com/zurb/foundation-sites/blob/develop/js/foundation.abide.js#L562)\r\nThe current regex is redundant => `/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/`\r\nThe correct Regex would be => `/^#?([a-f0-9]{6}|[a-f0-9]{3})/i`\r\n\r\nand secondly why aren't we using the `g` flag ... Is it intentional ?\r\ncc @kball "},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/377343882","html_url":"https://github.com/zurb/foundation-sites/issues/10588#issuecomment-377343882","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10588","id":377343882,"user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars1.githubusercontent.com/u/827205?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T19:20:08Z","updated_at":"2018-03-29T19:20:08Z","author_association":"COLLABORATOR","body":"Related https://github.com/zurb/foundation-sites/issues/10590"}}
{"actor":{"display_login":"DanielRuf"}}