{"action":"created","issue":{"url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/26","labels_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/26/comments","events_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/26/events","html_url":"https://github.com/AndrewBelt/hack.chat/pull/26","id":94438214,"number":26,"title":"Added name highlighting","user":{"login":"Inferno42","id":3181924,"avatar_url":"https://avatars.githubusercontent.com/u/3181924?v=3","gravatar_id":"","url":"https://api.github.com/users/Inferno42","html_url":"https://github.com/Inferno42","followers_url":"https://api.github.com/users/Inferno42/followers","following_url":"https://api.github.com/users/Inferno42/following{/other_user}","gists_url":"https://api.github.com/users/Inferno42/gists{/gist_id}","starred_url":"https://api.github.com/users/Inferno42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inferno42/subscriptions","organizations_url":"https://api.github.com/users/Inferno42/orgs","repos_url":"https://api.github.com/users/Inferno42/repos","events_url":"https://api.github.com/users/Inferno42/events{/privacy}","received_events_url":"https://api.github.com/users/Inferno42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-11T05:23:08Z","updated_at":"2015-07-11T08:19:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AndrewBelt/hack.chat/pulls/26","html_url":"https://github.com/AndrewBelt/hack.chat/pull/26","diff_url":"https://github.com/AndrewBelt/hack.chat/pull/26.diff","patch_url":"https://github.com/AndrewBelt/hack.chat/pull/26.patch"},"body":"Whenever the user's name is mentioned by another person the name is highlighted in red."},"comment":{"url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/comments/120595746","html_url":"https://github.com/AndrewBelt/hack.chat/pull/26#issuecomment-120595746","issue_url":"https://api.github.com/repos/AndrewBelt/hack.chat/issues/26","id":120595746,"user":{"login":"WebFreak001","id":2035977,"avatar_url":"https://avatars.githubusercontent.com/u/2035977?v=3","gravatar_id":"","url":"https://api.github.com/users/WebFreak001","html_url":"https://github.com/WebFreak001","followers_url":"https://api.github.com/users/WebFreak001/followers","following_url":"https://api.github.com/users/WebFreak001/following{/other_user}","gists_url":"https://api.github.com/users/WebFreak001/gists{/gist_id}","starred_url":"https://api.github.com/users/WebFreak001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebFreak001/subscriptions","organizations_url":"https://api.github.com/users/WebFreak001/orgs","repos_url":"https://api.github.com/users/WebFreak001/repos","events_url":"https://api.github.com/users/WebFreak001/events{/privacy}","received_events_url":"https://api.github.com/users/WebFreak001/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T08:19:59Z","updated_at":"2015-07-11T08:19:59Z","body":"You should maybe escape the name for regex before testing, and also add \\b before and after the name so it doesn't mark nicknames mid-word. This could also be combined with the new @nick syntax"}}