{"action":"created","comment":{"url":"https://api.github.com/repos/atom/language-ruby/pulls/comments/71984444","id":71984444,"diff_hunk":"@@ -479,6 +479,8 @@\n           |\n           if|else|elsif|then|do|end|unless|while|until|or|and\n         )\n+        |\n+        $","path":"grammars/ruby.cson","position":null,"original_position":5,"commit_id":"73ec57162fb7eb0035dedc0026911e3d2a8aee4b","original_commit_id":"963431204a3339acfcc6ffc54f912c49ed74b1f0","user":{"login":"esdoppio","id":18070858,"avatar_url":"https://avatars.githubusercontent.com/u/18070858?v=3","gravatar_id":"","url":"https://api.github.com/users/esdoppio","html_url":"https://github.com/esdoppio","followers_url":"https://api.github.com/users/esdoppio/followers","following_url":"https://api.github.com/users/esdoppio/following{/other_user}","gists_url":"https://api.github.com/users/esdoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/esdoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdoppio/subscriptions","organizations_url":"https://api.github.com/users/esdoppio/orgs","repos_url":"https://api.github.com/users/esdoppio/repos","events_url":"https://api.github.com/users/esdoppio/events{/privacy}","received_events_url":"https://api.github.com/users/esdoppio/received_events","type":"User","site_admin":false},"body":"This wouldn't be needed if we test what goes before `/` instead. This is the modified version of the begin pattern from TM's bundle:\r\n\r\n```cson\r\n(?:\r\n  ^\r\n  |\r\n  (?<=\r\n    [(\\\\[{~&=|;:,>?]|\r\n    [\\\\s;]when\\\\s|\r\n    [\\\\s;]if\\\\s|\r\n    [\\\\s;]elsif\\\\s|\r\n    [\\\\s;]else\\\\s|\r\n    [\\\\s;]while\\\\s|\r\n    [\\\\s;]unless\\\\s|\r\n    [\\\\s;]then\\\\s|\r\n    [\\\\s;]or\\\\s|\r\n    [\\\\s;]and\\\\s|\r\n    [\\\\s;]not\\\\s|\r\n    [\\\\s.]match\\\\s|\r\n    [\\\\s.]gsub\\\\s|\r\n    [\\\\s.]gsub!\\\\s|\r\n    [\\\\s.]sub\\\\s|\r\n    [\\\\s.]sub!\\\\s|\r\n    [\\\\s.]slice\\\\s|\r\n    [\\\\s.]slice!\\\\s|\r\n    [\\\\s.]index\\\\s|\r\n    [\\\\s.]scan\\\\s|\r\n    [\\\\s.]split\\\\s|\r\n    [\\\\s.]partition\\\\s|\r\n    [\\\\s.]rpartition\\\\s|\r\n    [\\\\s;]assert_match\\\\s\r\n  )\r\n  |\r\n  (?<=\r\n    ^when\\\\s|\r\n    ^if\\\\s|\r\n    ^elsif\\\\s|\r\n    ^while\\\\s|\r\n    ^unless\\\\s\r\n  )\r\n)\r\n\\\\s*((/))(?![*+?])\r\n```\r\n\r\n@50Wliu What do you think?","created_at":"2016-07-24T08:37:58Z","updated_at":"2016-07-24T08:37:58Z","html_url":"https://github.com/atom/language-ruby/pull/158#discussion_r71984444","pull_request_url":"https://api.github.com/repos/atom/language-ruby/pulls/158","_links":{"self":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/comments/71984444"},"html":{"href":"https://github.com/atom/language-ruby/pull/158#discussion_r71984444"},"pull_request":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/158"}}},"pull_request":{"url":"https://api.github.com/repos/atom/language-ruby/pulls/158","id":78341945,"html_url":"https://github.com/atom/language-ruby/pull/158","diff_url":"https://github.com/atom/language-ruby/pull/158.diff","patch_url":"https://github.com/atom/language-ruby/pull/158.patch","issue_url":"https://api.github.com/repos/atom/language-ruby/issues/158","number":158,"state":"open","locked":false,"title":"Recognize multi-line regular expressions","user":{"login":"esdoppio","id":18070858,"avatar_url":"https://avatars.githubusercontent.com/u/18070858?v=3","gravatar_id":"","url":"https://api.github.com/users/esdoppio","html_url":"https://github.com/esdoppio","followers_url":"https://api.github.com/users/esdoppio/followers","following_url":"https://api.github.com/users/esdoppio/following{/other_user}","gists_url":"https://api.github.com/users/esdoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/esdoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdoppio/subscriptions","organizations_url":"https://api.github.com/users/esdoppio/orgs","repos_url":"https://api.github.com/users/esdoppio/repos","events_url":"https://api.github.com/users/esdoppio/events{/privacy}","received_events_url":"https://api.github.com/users/esdoppio/received_events","type":"User","site_admin":false},"body":"fixes #144 ","created_at":"2016-07-21T15:56:26Z","updated_at":"2016-07-24T08:37:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7852a7832b5cae50ef029536a03c3c3387218ca3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/atom/language-ruby/pulls/158/commits","review_comments_url":"https://api.github.com/repos/atom/language-ruby/pulls/158/comments","review_comment_url":"https://api.github.com/repos/atom/language-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/language-ruby/issues/158/comments","statuses_url":"https://api.github.com/repos/atom/language-ruby/statuses/73ec57162fb7eb0035dedc0026911e3d2a8aee4b","head":{"label":"esdoppio:fix-multiline-regexp","ref":"fix-multiline-regexp","sha":"73ec57162fb7eb0035dedc0026911e3d2a8aee4b","user":{"login":"esdoppio","id":18070858,"avatar_url":"https://avatars.githubusercontent.com/u/18070858?v=3","gravatar_id":"","url":"https://api.github.com/users/esdoppio","html_url":"https://github.com/esdoppio","followers_url":"https://api.github.com/users/esdoppio/followers","following_url":"https://api.github.com/users/esdoppio/following{/other_user}","gists_url":"https://api.github.com/users/esdoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/esdoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdoppio/subscriptions","organizations_url":"https://api.github.com/users/esdoppio/orgs","repos_url":"https://api.github.com/users/esdoppio/repos","events_url":"https://api.github.com/users/esdoppio/events{/privacy}","received_events_url":"https://api.github.com/users/esdoppio/received_events","type":"User","site_admin":false},"repo":{"id":61943403,"name":"language-ruby","full_name":"esdoppio/language-ruby","owner":{"login":"esdoppio","id":18070858,"avatar_url":"https://avatars.githubusercontent.com/u/18070858?v=3","gravatar_id":"","url":"https://api.github.com/users/esdoppio","html_url":"https://github.com/esdoppio","followers_url":"https://api.github.com/users/esdoppio/followers","following_url":"https://api.github.com/users/esdoppio/following{/other_user}","gists_url":"https://api.github.com/users/esdoppio/gists{/gist_id}","starred_url":"https://api.github.com/users/esdoppio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esdoppio/subscriptions","organizations_url":"https://api.github.com/users/esdoppio/orgs","repos_url":"https://api.github.com/users/esdoppio/repos","events_url":"https://api.github.com/users/esdoppio/events{/privacy}","received_events_url":"https://api.github.com/users/esdoppio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esdoppio/language-ruby","description":"Ruby package for Atom","fork":true,"url":"https://api.github.com/repos/esdoppio/language-ruby","forks_url":"https://api.github.com/repos/esdoppio/language-ruby/forks","keys_url":"https://api.github.com/repos/esdoppio/language-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esdoppio/language-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esdoppio/language-ruby/teams","hooks_url":"https://api.github.com/repos/esdoppio/language-ruby/hooks","issue_events_url":"https://api.github.com/repos/esdoppio/language-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/esdoppio/language-ruby/events","assignees_url":"https://api.github.com/repos/esdoppio/language-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/esdoppio/language-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/esdoppio/language-ruby/tags","blobs_url":"https://api.github.com/repos/esdoppio/language-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esdoppio/language-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esdoppio/language-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/esdoppio/language-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esdoppio/language-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/esdoppio/language-ruby/languages","stargazers_url":"https://api.github.com/repos/esdoppio/language-ruby/stargazers","contributors_url":"https://api.github.com/repos/esdoppio/language-ruby/contributors","subscribers_url":"https://api.github.com/repos/esdoppio/language-ruby/subscribers","subscription_url":"https://api.github.com/repos/esdoppio/language-ruby/subscription","commits_url":"https://api.github.com/repos/esdoppio/language-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/esdoppio/language-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/esdoppio/language-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/esdoppio/language-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/esdoppio/language-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/esdoppio/language-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esdoppio/language-ruby/merges","archive_url":"https://api.github.com/repos/esdoppio/language-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esdoppio/language-ruby/downloads","issues_url":"https://api.github.com/repos/esdoppio/language-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/esdoppio/language-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/esdoppio/language-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/esdoppio/language-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esdoppio/language-ruby/labels{/name}","releases_url":"https://api.github.com/repos/esdoppio/language-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/esdoppio/language-ruby/deployments","created_at":"2016-06-25T12:59:54Z","updated_at":"2016-06-25T12:59:55Z","pushed_at":"2016-07-21T15:54:20Z","git_url":"git://github.com/esdoppio/language-ruby.git","ssh_url":"git@github.com:esdoppio/language-ruby.git","clone_url":"https://github.com/esdoppio/language-ruby.git","svn_url":"https://github.com/esdoppio/language-ruby","homepage":null,"size":500,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"atom:master","ref":"master","sha":"0529b8f2d112c76755344bab613d83e7af9949d4","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":13712764,"name":"language-ruby","full_name":"atom/language-ruby","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/language-ruby","description":"Ruby package for Atom","fork":false,"url":"https://api.github.com/repos/atom/language-ruby","forks_url":"https://api.github.com/repos/atom/language-ruby/forks","keys_url":"https://api.github.com/repos/atom/language-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/language-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/language-ruby/teams","hooks_url":"https://api.github.com/repos/atom/language-ruby/hooks","issue_events_url":"https://api.github.com/repos/atom/language-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/atom/language-ruby/events","assignees_url":"https://api.github.com/repos/atom/language-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/atom/language-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/atom/language-ruby/tags","blobs_url":"https://api.github.com/repos/atom/language-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/language-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/language-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/language-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/language-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/language-ruby/languages","stargazers_url":"https://api.github.com/repos/atom/language-ruby/stargazers","contributors_url":"https://api.github.com/repos/atom/language-ruby/contributors","subscribers_url":"https://api.github.com/repos/atom/language-ruby/subscribers","subscription_url":"https://api.github.com/repos/atom/language-ruby/subscription","commits_url":"https://api.github.com/repos/atom/language-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/language-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/language-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/language-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/language-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/atom/language-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/language-ruby/merges","archive_url":"https://api.github.com/repos/atom/language-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/language-ruby/downloads","issues_url":"https://api.github.com/repos/atom/language-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/atom/language-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/language-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/language-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/language-ruby/labels{/name}","releases_url":"https://api.github.com/repos/atom/language-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/atom/language-ruby/deployments","created_at":"2013-10-20T03:04:39Z","updated_at":"2016-07-12T07:50:51Z","pushed_at":"2016-07-21T15:56:26Z","git_url":"git://github.com/atom/language-ruby.git","ssh_url":"git@github.com:atom/language-ruby.git","clone_url":"https://github.com/atom/language-ruby.git","svn_url":"https://github.com/atom/language-ruby","homepage":null,"size":585,"stargazers_count":51,"watchers_count":51,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":85,"mirror_url":null,"open_issues_count":19,"forks":85,"open_issues":19,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/158"},"html":{"href":"https://github.com/atom/language-ruby/pull/158"},"issue":{"href":"https://api.github.com/repos/atom/language-ruby/issues/158"},"comments":{"href":"https://api.github.com/repos/atom/language-ruby/issues/158/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/158/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/language-ruby/pulls/158/commits"},"statuses":{"href":"https://api.github.com/repos/atom/language-ruby/statuses/73ec57162fb7eb0035dedc0026911e3d2a8aee4b"}}}}
{"actor":{"display_login":"esdoppio"}}