{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/gosimple/slug/pulls/4","id":39995079,"html_url":"https://github.com/gosimple/slug/pull/4","diff_url":"https://github.com/gosimple/slug/pull/4.diff","patch_url":"https://github.com/gosimple/slug/pull/4.patch","issue_url":"https://api.github.com/repos/gosimple/slug/issues/4","number":4,"state":"open","locked":false,"title":"Compile regexp only once","user":{"login":"hectorj","id":2427959,"avatar_url":"https://avatars.githubusercontent.com/u/2427959?v=3","gravatar_id":"","url":"https://api.github.com/users/hectorj","html_url":"https://github.com/hectorj","followers_url":"https://api.github.com/users/hectorj/followers","following_url":"https://api.github.com/users/hectorj/following{/other_user}","gists_url":"https://api.github.com/users/hectorj/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorj/subscriptions","organizations_url":"https://api.github.com/users/hectorj/orgs","repos_url":"https://api.github.com/users/hectorj/repos","events_url":"https://api.github.com/users/hectorj/events{/privacy}","received_events_url":"https://api.github.com/users/hectorj/received_events","type":"User","site_admin":false},"body":"No need to compile for every run","created_at":"2015-07-15T07:31:58Z","updated_at":"2015-07-15T07:31:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gosimple/slug/pulls/4/commits","review_comments_url":"https://api.github.com/repos/gosimple/slug/pulls/4/comments","review_comment_url":"https://api.github.com/repos/gosimple/slug/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gosimple/slug/issues/4/comments","statuses_url":"https://api.github.com/repos/gosimple/slug/statuses/dec09d99a53ce780d3ea79d22f4790a78153a07a","head":{"label":"hectorj:compile-regex-once","ref":"compile-regex-once","sha":"dec09d99a53ce780d3ea79d22f4790a78153a07a","user":{"login":"hectorj","id":2427959,"avatar_url":"https://avatars.githubusercontent.com/u/2427959?v=3","gravatar_id":"","url":"https://api.github.com/users/hectorj","html_url":"https://github.com/hectorj","followers_url":"https://api.github.com/users/hectorj/followers","following_url":"https://api.github.com/users/hectorj/following{/other_user}","gists_url":"https://api.github.com/users/hectorj/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorj/subscriptions","organizations_url":"https://api.github.com/users/hectorj/orgs","repos_url":"https://api.github.com/users/hectorj/repos","events_url":"https://api.github.com/users/hectorj/events{/privacy}","received_events_url":"https://api.github.com/users/hectorj/received_events","type":"User","site_admin":false},"repo":{"id":39121804,"name":"slug","full_name":"hectorj/slug","owner":{"login":"hectorj","id":2427959,"avatar_url":"https://avatars.githubusercontent.com/u/2427959?v=3","gravatar_id":"","url":"https://api.github.com/users/hectorj","html_url":"https://github.com/hectorj","followers_url":"https://api.github.com/users/hectorj/followers","following_url":"https://api.github.com/users/hectorj/following{/other_user}","gists_url":"https://api.github.com/users/hectorj/gists{/gist_id}","starred_url":"https://api.github.com/users/hectorj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectorj/subscriptions","organizations_url":"https://api.github.com/users/hectorj/orgs","repos_url":"https://api.github.com/users/hectorj/repos","events_url":"https://api.github.com/users/hectorj/events{/privacy}","received_events_url":"https://api.github.com/users/hectorj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hectorj/slug","description":"URL-friendly slugify with multiple languages support.","fork":true,"url":"https://api.github.com/repos/hectorj/slug","forks_url":"https://api.github.com/repos/hectorj/slug/forks","keys_url":"https://api.github.com/repos/hectorj/slug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hectorj/slug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hectorj/slug/teams","hooks_url":"https://api.github.com/repos/hectorj/slug/hooks","issue_events_url":"https://api.github.com/repos/hectorj/slug/issues/events{/number}","events_url":"https://api.github.com/repos/hectorj/slug/events","assignees_url":"https://api.github.com/repos/hectorj/slug/assignees{/user}","branches_url":"https://api.github.com/repos/hectorj/slug/branches{/branch}","tags_url":"https://api.github.com/repos/hectorj/slug/tags","blobs_url":"https://api.github.com/repos/hectorj/slug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hectorj/slug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hectorj/slug/git/refs{/sha}","trees_url":"https://api.github.com/repos/hectorj/slug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hectorj/slug/statuses/{sha}","languages_url":"https://api.github.com/repos/hectorj/slug/languages","stargazers_url":"https://api.github.com/repos/hectorj/slug/stargazers","contributors_url":"https://api.github.com/repos/hectorj/slug/contributors","subscribers_url":"https://api.github.com/repos/hectorj/slug/subscribers","subscription_url":"https://api.github.com/repos/hectorj/slug/subscription","commits_url":"https://api.github.com/repos/hectorj/slug/commits{/sha}","git_commits_url":"https://api.github.com/repos/hectorj/slug/git/commits{/sha}","comments_url":"https://api.github.com/repos/hectorj/slug/comments{/number}","issue_comment_url":"https://api.github.com/repos/hectorj/slug/issues/comments{/number}","contents_url":"https://api.github.com/repos/hectorj/slug/contents/{+path}","compare_url":"https://api.github.com/repos/hectorj/slug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hectorj/slug/merges","archive_url":"https://api.github.com/repos/hectorj/slug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hectorj/slug/downloads","issues_url":"https://api.github.com/repos/hectorj/slug/issues{/number}","pulls_url":"https://api.github.com/repos/hectorj/slug/pulls{/number}","milestones_url":"https://api.github.com/repos/hectorj/slug/milestones{/number}","notifications_url":"https://api.github.com/repos/hectorj/slug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hectorj/slug/labels{/name}","releases_url":"https://api.github.com/repos/hectorj/slug/releases{/id}","created_at":"2015-07-15T07:03:39Z","updated_at":"2015-07-15T07:03:40Z","pushed_at":"2015-07-15T07:30:56Z","git_url":"git://github.com/hectorj/slug.git","ssh_url":"git@github.com:hectorj/slug.git","clone_url":"https://github.com/hectorj/slug.git","svn_url":"https://github.com/hectorj/slug","homepage":null,"size":170,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gosimple:master","ref":"master","sha":"8d258463b4459f161f51d6a357edacd3eef9d663","user":{"login":"gosimple","id":7112375,"avatar_url":"https://avatars.githubusercontent.com/u/7112375?v=3","gravatar_id":"","url":"https://api.github.com/users/gosimple","html_url":"https://github.com/gosimple","followers_url":"https://api.github.com/users/gosimple/followers","following_url":"https://api.github.com/users/gosimple/following{/other_user}","gists_url":"https://api.github.com/users/gosimple/gists{/gist_id}","starred_url":"https://api.github.com/users/gosimple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gosimple/subscriptions","organizations_url":"https://api.github.com/users/gosimple/orgs","repos_url":"https://api.github.com/users/gosimple/repos","events_url":"https://api.github.com/users/gosimple/events{/privacy}","received_events_url":"https://api.github.com/users/gosimple/received_events","type":"Organization","site_admin":false},"repo":{"id":18283807,"name":"slug","full_name":"gosimple/slug","owner":{"login":"gosimple","id":7112375,"avatar_url":"https://avatars.githubusercontent.com/u/7112375?v=3","gravatar_id":"","url":"https://api.github.com/users/gosimple","html_url":"https://github.com/gosimple","followers_url":"https://api.github.com/users/gosimple/followers","following_url":"https://api.github.com/users/gosimple/following{/other_user}","gists_url":"https://api.github.com/users/gosimple/gists{/gist_id}","starred_url":"https://api.github.com/users/gosimple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gosimple/subscriptions","organizations_url":"https://api.github.com/users/gosimple/orgs","repos_url":"https://api.github.com/users/gosimple/repos","events_url":"https://api.github.com/users/gosimple/events{/privacy}","received_events_url":"https://api.github.com/users/gosimple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gosimple/slug","description":"URL-friendly slugify with multiple languages support.","fork":false,"url":"https://api.github.com/repos/gosimple/slug","forks_url":"https://api.github.com/repos/gosimple/slug/forks","keys_url":"https://api.github.com/repos/gosimple/slug/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gosimple/slug/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gosimple/slug/teams","hooks_url":"https://api.github.com/repos/gosimple/slug/hooks","issue_events_url":"https://api.github.com/repos/gosimple/slug/issues/events{/number}","events_url":"https://api.github.com/repos/gosimple/slug/events","assignees_url":"https://api.github.com/repos/gosimple/slug/assignees{/user}","branches_url":"https://api.github.com/repos/gosimple/slug/branches{/branch}","tags_url":"https://api.github.com/repos/gosimple/slug/tags","blobs_url":"https://api.github.com/repos/gosimple/slug/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gosimple/slug/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gosimple/slug/git/refs{/sha}","trees_url":"https://api.github.com/repos/gosimple/slug/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gosimple/slug/statuses/{sha}","languages_url":"https://api.github.com/repos/gosimple/slug/languages","stargazers_url":"https://api.github.com/repos/gosimple/slug/stargazers","contributors_url":"https://api.github.com/repos/gosimple/slug/contributors","subscribers_url":"https://api.github.com/repos/gosimple/slug/subscribers","subscription_url":"https://api.github.com/repos/gosimple/slug/subscription","commits_url":"https://api.github.com/repos/gosimple/slug/commits{/sha}","git_commits_url":"https://api.github.com/repos/gosimple/slug/git/commits{/sha}","comments_url":"https://api.github.com/repos/gosimple/slug/comments{/number}","issue_comment_url":"https://api.github.com/repos/gosimple/slug/issues/comments{/number}","contents_url":"https://api.github.com/repos/gosimple/slug/contents/{+path}","compare_url":"https://api.github.com/repos/gosimple/slug/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gosimple/slug/merges","archive_url":"https://api.github.com/repos/gosimple/slug/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gosimple/slug/downloads","issues_url":"https://api.github.com/repos/gosimple/slug/issues{/number}","pulls_url":"https://api.github.com/repos/gosimple/slug/pulls{/number}","milestones_url":"https://api.github.com/repos/gosimple/slug/milestones{/number}","notifications_url":"https://api.github.com/repos/gosimple/slug/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gosimple/slug/labels{/name}","releases_url":"https://api.github.com/repos/gosimple/slug/releases{/id}","created_at":"2014-03-31T06:24:51Z","updated_at":"2015-07-05T08:05:16Z","pushed_at":"2015-07-15T07:18:53Z","git_url":"git://github.com/gosimple/slug.git","ssh_url":"git@github.com:gosimple/slug.git","clone_url":"https://github.com/gosimple/slug.git","svn_url":"https://github.com/gosimple/slug","homepage":null,"size":266,"stargazers_count":45,"watchers_count":45,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gosimple/slug/pulls/4"},"html":{"href":"https://github.com/gosimple/slug/pull/4"},"issue":{"href":"https://api.github.com/repos/gosimple/slug/issues/4"},"comments":{"href":"https://api.github.com/repos/gosimple/slug/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/gosimple/slug/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/gosimple/slug/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gosimple/slug/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/gosimple/slug/statuses/dec09d99a53ce780d3ea79d22f4790a78153a07a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}