{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3655","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3655/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3655/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3655/events","html_url":"https://github.com/gogits/gogs/pull/3655","id":177104245,"number":3655,"title":"[WIP] Fix mention in comments like (@dblk)","user":{"login":"DblK","id":832617,"avatar_url":"https://avatars.githubusercontent.com/u/832617?v=3","gravatar_id":"","url":"https://api.github.com/users/DblK","html_url":"https://github.com/DblK","followers_url":"https://api.github.com/users/DblK/followers","following_url":"https://api.github.com/users/DblK/following{/other_user}","gists_url":"https://api.github.com/users/DblK/gists{/gist_id}","starred_url":"https://api.github.com/users/DblK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DblK/subscriptions","organizations_url":"https://api.github.com/users/DblK/orgs","repos_url":"https://api.github.com/users/DblK/repos","events_url":"https://api.github.com/users/DblK/events{/privacy}","received_events_url":"https://api.github.com/users/DblK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-15T07:03:31Z","updated_at":"2016-09-15T09:29:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/3655","html_url":"https://github.com/gogits/gogs/pull/3655","diff_url":"https://github.com/gogits/gogs/pull/3655.diff","patch_url":"https://github.com/gogits/gogs/pull/3655.patch"},"body":"It a small fix for issue #3649.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/247280697","html_url":"https://github.com/gogits/gogs/pull/3655#issuecomment-247280697","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3655","id":247280697,"user":{"login":"LefsFlarey","id":22112509,"avatar_url":"https://avatars.githubusercontent.com/u/22112509?v=3","gravatar_id":"","url":"https://api.github.com/users/LefsFlarey","html_url":"https://github.com/LefsFlarey","followers_url":"https://api.github.com/users/LefsFlarey/followers","following_url":"https://api.github.com/users/LefsFlarey/following{/other_user}","gists_url":"https://api.github.com/users/LefsFlarey/gists{/gist_id}","starred_url":"https://api.github.com/users/LefsFlarey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LefsFlarey/subscriptions","organizations_url":"https://api.github.com/users/LefsFlarey/orgs","repos_url":"https://api.github.com/users/LefsFlarey/repos","events_url":"https://api.github.com/users/LefsFlarey/events{/privacy}","received_events_url":"https://api.github.com/users/LefsFlarey/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T09:29:50Z","updated_at":"2016-09-15T09:29:50Z","body":"@DblK, as you have reported, apparently GoLang does not support lookaround. As such, here's an alternative that ***should*** work.\r\n\r\n[`(?:[^\\w])@([0-9a-zA-Z-_\\.]+)`](https://regex101.com/r/zM8dC4/2)\r\n\r\nIf extraction of the user is important, extract from group 1 through `\\1` or `$1`."}}
{"actor":{"display_login":"LefsFlarey"}}