{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/language-javascript/issues/188","labels_url":"https://api.github.com/repos/atom/language-javascript/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-javascript/issues/188/comments","events_url":"https://api.github.com/repos/atom/language-javascript/issues/188/events","html_url":"https://github.com/atom/language-javascript/issues/188","id":99000236,"number":188,"title":"Distinguishing from comparison operators","user":{"login":"smaili","id":4451986,"avatar_url":"https://avatars.githubusercontent.com/u/4451986?v=3","gravatar_id":"","url":"https://api.github.com/users/smaili","html_url":"https://github.com/smaili","followers_url":"https://api.github.com/users/smaili/followers","following_url":"https://api.github.com/users/smaili/following{/other_user}","gists_url":"https://api.github.com/users/smaili/gists{/gist_id}","starred_url":"https://api.github.com/users/smaili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smaili/subscriptions","organizations_url":"https://api.github.com/users/smaili/orgs","repos_url":"https://api.github.com/users/smaili/repos","events_url":"https://api.github.com/users/smaili/events{/privacy}","received_events_url":"https://api.github.com/users/smaili/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/language-javascript/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-08-04T15:47:41Z","updated_at":"2015-11-04T13:43:04Z","closed_at":"2015-11-04T13:43:04Z","body":"I've noticed that these two rules use the same grouping:\r\n\r\n```cson\r\n  {\r\n    'match': '(?<!\\\\.)\\\\b(delete|in|of|instanceof|new|typeof|void)(?!\\\\s*:)\\\\b'\r\n    'name': 'keyword.operator.js'\r\n  }\r\n  {\r\n    'match': '!=|!==|<=|>=|<<=|>>=|>>>=|\\\\*=|(?<!\\\\()/=|%=|\\\\+=|\\\\-=|&=|\\\\^=|!|%|&|\\\\*|\\\\-\\\\-|\\\\-|\\\\+\\\\+|\\\\+|~|===|==|=|<>|<|>|!|&&|\\\\|\\\\||\\\\?|\\\\:|\\\\^'\r\n    'comment': 'match 2-character operator first'\r\n    'name': 'keyword.operator.js'\r\n  }\r\n```\r\n\r\nBy using the same groups for both, we can't have syntax highlighting be applied to keywords like `delete` and `typeof`.  What would be the best way to distinguish these?  Maybe remove the `keyword` class from the second group of operators?"}}