{"action":"created","comment":{"url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/comments/26986990","id":26986990,"diff_hunk":"@@ -103,11 +104,11 @@ def sub_event_catcher(event):\n         last_events[event.meta['host']] = event\n \n \n-@match(regex=r'^s([^ a-zA-Z0-9])(.*?)\\1(.*?)(?:\\1(.+?))?$')\n+@match(regex=SED_REGEX)\n def sub_match(event, sep, pattern, replacement, flags, *args, **kwargs):\n     \"\"\"Matches any substitute string (as sed would), applies this substitution to\n-    the user's last message and sents it back to processing.\n-    \"\"\"\n+    the user's last message and sends it back to processing.\"\"\"","path":"basic.py","position":18,"original_position":18,"commit_id":"ddffe452d801b5571bd1e1d0521cf594b0e02a2a","original_commit_id":"ddffe452d801b5571bd1e1d0521cf594b0e02a2a","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"body":"@pepol yeah, but you have omitted the second part\r\n\r\n``` This way, Emacs' fill-paragraph command can be used on it. ```\r\n\r\nIf that's the reason for that I am very much OK with leaving it this way here.","created_at":"2015-03-23T22:25:13Z","updated_at":"2015-03-23T22:25:13Z","html_url":"https://github.com/mrshu/brutal-plugins/pull/80#discussion_r26986990","pull_request_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/comments/26986990"},"html":{"href":"https://github.com/mrshu/brutal-plugins/pull/80#discussion_r26986990"},"pull_request":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80","id":31779472,"html_url":"https://github.com/mrshu/brutal-plugins/pull/80","diff_url":"https://github.com/mrshu/brutal-plugins/pull/80.diff","patch_url":"https://github.com/mrshu/brutal-plugins/pull/80.patch","issue_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/80","number":80,"state":"open","locked":false,"title":"basic: Added sub command","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"body":"* Added sub command which encapsulates 'sed substitution' in a command.\r\n\r\n* Moved the regular expression which matches the sed substitution\r\n  syntax into a separate variable.\r\n\r\n* Did some janitoring throughout the file.\r\n\r\nSigned-off-by: mr.Shu <mr@shu.io>","created_at":"2015-03-23T22:12:03Z","updated_at":"2015-03-23T22:25:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f19ed2c1b2141579dd075f91363911e3dd53de3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80/commits","review_comments_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80/comments","review_comment_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/80/comments","statuses_url":"https://api.github.com/repos/mrshu/brutal-plugins/statuses/ddffe452d801b5571bd1e1d0521cf594b0e02a2a","head":{"label":"mrshu:mrshu/sed-cmd","ref":"mrshu/sed-cmd","sha":"ddffe452d801b5571bd1e1d0521cf594b0e02a2a","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"repo":{"id":25275383,"name":"brutal-plugins","full_name":"mrshu/brutal-plugins","owner":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrshu/brutal-plugins","description":"A set of plugins for brutal, the mighty chatbot","fork":false,"url":"https://api.github.com/repos/mrshu/brutal-plugins","forks_url":"https://api.github.com/repos/mrshu/brutal-plugins/forks","keys_url":"https://api.github.com/repos/mrshu/brutal-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrshu/brutal-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrshu/brutal-plugins/teams","hooks_url":"https://api.github.com/repos/mrshu/brutal-plugins/hooks","issue_events_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/mrshu/brutal-plugins/events","assignees_url":"https://api.github.com/repos/mrshu/brutal-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/mrshu/brutal-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/mrshu/brutal-plugins/tags","blobs_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrshu/brutal-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/mrshu/brutal-plugins/languages","stargazers_url":"https://api.github.com/repos/mrshu/brutal-plugins/stargazers","contributors_url":"https://api.github.com/repos/mrshu/brutal-plugins/contributors","subscribers_url":"https://api.github.com/repos/mrshu/brutal-plugins/subscribers","subscription_url":"https://api.github.com/repos/mrshu/brutal-plugins/subscription","commits_url":"https://api.github.com/repos/mrshu/brutal-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrshu/brutal-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrshu/brutal-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/mrshu/brutal-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrshu/brutal-plugins/merges","archive_url":"https://api.github.com/repos/mrshu/brutal-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrshu/brutal-plugins/downloads","issues_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/mrshu/brutal-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/mrshu/brutal-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrshu/brutal-plugins/labels{/name}","releases_url":"https://api.github.com/repos/mrshu/brutal-plugins/releases{/id}","created_at":"2014-10-15T21:58:44Z","updated_at":"2015-03-23T14:30:21Z","pushed_at":"2015-03-23T22:12:03Z","git_url":"git://github.com/mrshu/brutal-plugins.git","ssh_url":"git@github.com:mrshu/brutal-plugins.git","clone_url":"https://github.com/mrshu/brutal-plugins.git","svn_url":"https://github.com/mrshu/brutal-plugins","homepage":null,"size":1249,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":14,"forks":4,"open_issues":14,"watchers":2,"default_branch":"master"}},"base":{"label":"mrshu:master","ref":"master","sha":"c55a6f0779a143f23bdbea34e3463227081b9e9f","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"repo":{"id":25275383,"name":"brutal-plugins","full_name":"mrshu/brutal-plugins","owner":{"login":"mrshu","id":461491,"avatar_url":"https://avatars.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrshu/brutal-plugins","description":"A set of plugins for brutal, the mighty chatbot","fork":false,"url":"https://api.github.com/repos/mrshu/brutal-plugins","forks_url":"https://api.github.com/repos/mrshu/brutal-plugins/forks","keys_url":"https://api.github.com/repos/mrshu/brutal-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrshu/brutal-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrshu/brutal-plugins/teams","hooks_url":"https://api.github.com/repos/mrshu/brutal-plugins/hooks","issue_events_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/mrshu/brutal-plugins/events","assignees_url":"https://api.github.com/repos/mrshu/brutal-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/mrshu/brutal-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/mrshu/brutal-plugins/tags","blobs_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrshu/brutal-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/mrshu/brutal-plugins/languages","stargazers_url":"https://api.github.com/repos/mrshu/brutal-plugins/stargazers","contributors_url":"https://api.github.com/repos/mrshu/brutal-plugins/contributors","subscribers_url":"https://api.github.com/repos/mrshu/brutal-plugins/subscribers","subscription_url":"https://api.github.com/repos/mrshu/brutal-plugins/subscription","commits_url":"https://api.github.com/repos/mrshu/brutal-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrshu/brutal-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrshu/brutal-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrshu/brutal-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/mrshu/brutal-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrshu/brutal-plugins/merges","archive_url":"https://api.github.com/repos/mrshu/brutal-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrshu/brutal-plugins/downloads","issues_url":"https://api.github.com/repos/mrshu/brutal-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/mrshu/brutal-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/mrshu/brutal-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/mrshu/brutal-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrshu/brutal-plugins/labels{/name}","releases_url":"https://api.github.com/repos/mrshu/brutal-plugins/releases{/id}","created_at":"2014-10-15T21:58:44Z","updated_at":"2015-03-23T14:30:21Z","pushed_at":"2015-03-23T22:12:03Z","git_url":"git://github.com/mrshu/brutal-plugins.git","ssh_url":"git@github.com:mrshu/brutal-plugins.git","clone_url":"https://github.com/mrshu/brutal-plugins.git","svn_url":"https://github.com/mrshu/brutal-plugins","homepage":null,"size":1249,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":14,"forks":4,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80"},"html":{"href":"https://github.com/mrshu/brutal-plugins/pull/80"},"issue":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/issues/80"},"comments":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/mrshu/brutal-plugins/statuses/ddffe452d801b5571bd1e1d0521cf594b0e02a2a"}}}}