{"action":"created","comment":{"url":"https://api.github.com/repos/jneen/rouge/pulls/comments/65455957","id":65455957,"diff_hunk":"@@ -0,0 +1,85 @@\n+# -*- coding: utf-8 -*- #\n+\n+module Rouge\n+  module Lexers\n+    class Kotlin < RegexLexer\n+      title \"Kotlin\"\n+      desc \"Kotlin <http://kotlinlang.org>\"\n+\n+      tag 'kotlin'\n+      filenames '*.kt'\n+      mimetypes 'text/x-kotlin'\n+\n+      keywords = %w(\n+        abstract annotation as break by catch class companion const \n+        constructor continue crossinline do dynamic else enum\n+        external false final finally for fun get if import in infix\n+        inline inner interface internal is lateinit noinline null\n+        object open operator out override package private protected\n+        public reified return sealed set super tailrec this throw\n+        true try typealias typeof val var vararg when where while\n+        yield\n+      )\n+\n+      name = '@?[_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Nl}]' +\n+             '[\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Nl}\\p{Nd}\\p{Pc}\\p{Cf}\\p{Mn}\\p{Mc}]*'\n+\n+      id = \"(#{name}|`#{name}`)\"","path":"lib/rouge/lexers/kotlin.rb","position":27,"original_position":27,"commit_id":"cb16bc78573af5c34a9e630a42833ffbda194d6d","original_commit_id":"cb16bc78573af5c34a9e630a42833ffbda194d6d","user":{"login":"jneen","id":225017,"avatar_url":"https://avatars.githubusercontent.com/u/225017?v=3","gravatar_id":"","url":"https://api.github.com/users/jneen","html_url":"https://github.com/jneen","followers_url":"https://api.github.com/users/jneen/followers","following_url":"https://api.github.com/users/jneen/following{/other_user}","gists_url":"https://api.github.com/users/jneen/gists{/gist_id}","starred_url":"https://api.github.com/users/jneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jneen/subscriptions","organizations_url":"https://api.github.com/users/jneen/orgs","repos_url":"https://api.github.com/users/jneen/repos","events_url":"https://api.github.com/users/jneen/events{/privacy}","received_events_url":"https://api.github.com/users/jneen/received_events","type":"User","site_admin":false},"body":"I'd prefer if `name` and `id` here were themselves regexes - Ruby has some safety features when interpolating regexes within other ones that I'd like to take advantage of.","created_at":"2016-06-01T22:38:06Z","updated_at":"2016-06-01T22:38:06Z","html_url":"https://github.com/jneen/rouge/pull/476#discussion_r65455957","pull_request_url":"https://api.github.com/repos/jneen/rouge/pulls/476","_links":{"self":{"href":"https://api.github.com/repos/jneen/rouge/pulls/comments/65455957"},"html":{"href":"https://github.com/jneen/rouge/pull/476#discussion_r65455957"},"pull_request":{"href":"https://api.github.com/repos/jneen/rouge/pulls/476"}}},"pull_request":{"url":"https://api.github.com/repos/jneen/rouge/pulls/476","id":71882663,"html_url":"https://github.com/jneen/rouge/pull/476","diff_url":"https://github.com/jneen/rouge/pull/476.diff","patch_url":"https://github.com/jneen/rouge/pull/476.patch","issue_url":"https://api.github.com/repos/jneen/rouge/issues/476","number":476,"state":"open","locked":false,"title":"Add Kotlin support","user":{"login":"meleyal","id":15045,"avatar_url":"https://avatars.githubusercontent.com/u/15045?v=3","gravatar_id":"","url":"https://api.github.com/users/meleyal","html_url":"https://github.com/meleyal","followers_url":"https://api.github.com/users/meleyal/followers","following_url":"https://api.github.com/users/meleyal/following{/other_user}","gists_url":"https://api.github.com/users/meleyal/gists{/gist_id}","starred_url":"https://api.github.com/users/meleyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meleyal/subscriptions","organizations_url":"https://api.github.com/users/meleyal/orgs","repos_url":"https://api.github.com/users/meleyal/repos","events_url":"https://api.github.com/users/meleyal/events{/privacy}","received_events_url":"https://api.github.com/users/meleyal/received_events","type":"User","site_admin":false},"body":"Fixes #295\r\nExtends #354 ","created_at":"2016-05-30T10:28:25Z","updated_at":"2016-06-01T22:38:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84f5e76d78a2502a9f6db1a90edc64699e3b4670","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jneen/rouge/pulls/476/commits","review_comments_url":"https://api.github.com/repos/jneen/rouge/pulls/476/comments","review_comment_url":"https://api.github.com/repos/jneen/rouge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jneen/rouge/issues/476/comments","statuses_url":"https://api.github.com/repos/jneen/rouge/statuses/cb16bc78573af5c34a9e630a42833ffbda194d6d","head":{"label":"PSPDFKit-labs:kotlin-support","ref":"kotlin-support","sha":"cb16bc78573af5c34a9e630a42833ffbda194d6d","user":{"login":"PSPDFKit-labs","id":10983927,"avatar_url":"https://avatars.githubusercontent.com/u/10983927?v=3","gravatar_id":"","url":"https://api.github.com/users/PSPDFKit-labs","html_url":"https://github.com/PSPDFKit-labs","followers_url":"https://api.github.com/users/PSPDFKit-labs/followers","following_url":"https://api.github.com/users/PSPDFKit-labs/following{/other_user}","gists_url":"https://api.github.com/users/PSPDFKit-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/PSPDFKit-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSPDFKit-labs/subscriptions","organizations_url":"https://api.github.com/users/PSPDFKit-labs/orgs","repos_url":"https://api.github.com/users/PSPDFKit-labs/repos","events_url":"https://api.github.com/users/PSPDFKit-labs/events{/privacy}","received_events_url":"https://api.github.com/users/PSPDFKit-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":56215337,"name":"rouge","full_name":"PSPDFKit-labs/rouge","owner":{"login":"PSPDFKit-labs","id":10983927,"avatar_url":"https://avatars.githubusercontent.com/u/10983927?v=3","gravatar_id":"","url":"https://api.github.com/users/PSPDFKit-labs","html_url":"https://github.com/PSPDFKit-labs","followers_url":"https://api.github.com/users/PSPDFKit-labs/followers","following_url":"https://api.github.com/users/PSPDFKit-labs/following{/other_user}","gists_url":"https://api.github.com/users/PSPDFKit-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/PSPDFKit-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSPDFKit-labs/subscriptions","organizations_url":"https://api.github.com/users/PSPDFKit-labs/orgs","repos_url":"https://api.github.com/users/PSPDFKit-labs/repos","events_url":"https://api.github.com/users/PSPDFKit-labs/events{/privacy}","received_events_url":"https://api.github.com/users/PSPDFKit-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PSPDFKit-labs/rouge","description":"A pure-ruby code highlighter that is compatible with pygments http://rouge.jneen.net/","fork":true,"url":"https://api.github.com/repos/PSPDFKit-labs/rouge","forks_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/forks","keys_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/teams","hooks_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/hooks","issue_events_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/issues/events{/number}","events_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/events","assignees_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/assignees{/user}","branches_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/branches{/branch}","tags_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/tags","blobs_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/git/refs{/sha}","trees_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/statuses/{sha}","languages_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/languages","stargazers_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/stargazers","contributors_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/contributors","subscribers_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/subscribers","subscription_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/subscription","commits_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/commits{/sha}","git_commits_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/git/commits{/sha}","comments_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/comments{/number}","issue_comment_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/issues/comments{/number}","contents_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/contents/{+path}","compare_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/merges","archive_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/downloads","issues_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/issues{/number}","pulls_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/pulls{/number}","milestones_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/milestones{/number}","notifications_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/labels{/name}","releases_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/releases{/id}","deployments_url":"https://api.github.com/repos/PSPDFKit-labs/rouge/deployments","created_at":"2016-04-14T07:10:37Z","updated_at":"2016-04-14T07:10:40Z","pushed_at":"2016-05-30T10:45:30Z","git_url":"git://github.com/PSPDFKit-labs/rouge.git","ssh_url":"git@github.com:PSPDFKit-labs/rouge.git","clone_url":"https://github.com/PSPDFKit-labs/rouge.git","svn_url":"https://github.com/PSPDFKit-labs/rouge","homepage":"","size":1947,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"jneen:master","ref":"master","sha":"53f00b8686921553e70c62403c14a5644f828e95","user":{"login":"jneen","id":225017,"avatar_url":"https://avatars.githubusercontent.com/u/225017?v=3","gravatar_id":"","url":"https://api.github.com/users/jneen","html_url":"https://github.com/jneen","followers_url":"https://api.github.com/users/jneen/followers","following_url":"https://api.github.com/users/jneen/following{/other_user}","gists_url":"https://api.github.com/users/jneen/gists{/gist_id}","starred_url":"https://api.github.com/users/jneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jneen/subscriptions","organizations_url":"https://api.github.com/users/jneen/orgs","repos_url":"https://api.github.com/users/jneen/repos","events_url":"https://api.github.com/users/jneen/events{/privacy}","received_events_url":"https://api.github.com/users/jneen/received_events","type":"User","site_admin":false},"repo":{"id":5627139,"name":"rouge","full_name":"jneen/rouge","owner":{"login":"jneen","id":225017,"avatar_url":"https://avatars.githubusercontent.com/u/225017?v=3","gravatar_id":"","url":"https://api.github.com/users/jneen","html_url":"https://github.com/jneen","followers_url":"https://api.github.com/users/jneen/followers","following_url":"https://api.github.com/users/jneen/following{/other_user}","gists_url":"https://api.github.com/users/jneen/gists{/gist_id}","starred_url":"https://api.github.com/users/jneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jneen/subscriptions","organizations_url":"https://api.github.com/users/jneen/orgs","repos_url":"https://api.github.com/users/jneen/repos","events_url":"https://api.github.com/users/jneen/events{/privacy}","received_events_url":"https://api.github.com/users/jneen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jneen/rouge","description":"A pure-ruby code highlighter that is compatible with pygments http://rouge.jneen.net/","fork":false,"url":"https://api.github.com/repos/jneen/rouge","forks_url":"https://api.github.com/repos/jneen/rouge/forks","keys_url":"https://api.github.com/repos/jneen/rouge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jneen/rouge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jneen/rouge/teams","hooks_url":"https://api.github.com/repos/jneen/rouge/hooks","issue_events_url":"https://api.github.com/repos/jneen/rouge/issues/events{/number}","events_url":"https://api.github.com/repos/jneen/rouge/events","assignees_url":"https://api.github.com/repos/jneen/rouge/assignees{/user}","branches_url":"https://api.github.com/repos/jneen/rouge/branches{/branch}","tags_url":"https://api.github.com/repos/jneen/rouge/tags","blobs_url":"https://api.github.com/repos/jneen/rouge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jneen/rouge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jneen/rouge/git/refs{/sha}","trees_url":"https://api.github.com/repos/jneen/rouge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jneen/rouge/statuses/{sha}","languages_url":"https://api.github.com/repos/jneen/rouge/languages","stargazers_url":"https://api.github.com/repos/jneen/rouge/stargazers","contributors_url":"https://api.github.com/repos/jneen/rouge/contributors","subscribers_url":"https://api.github.com/repos/jneen/rouge/subscribers","subscription_url":"https://api.github.com/repos/jneen/rouge/subscription","commits_url":"https://api.github.com/repos/jneen/rouge/commits{/sha}","git_commits_url":"https://api.github.com/repos/jneen/rouge/git/commits{/sha}","comments_url":"https://api.github.com/repos/jneen/rouge/comments{/number}","issue_comment_url":"https://api.github.com/repos/jneen/rouge/issues/comments{/number}","contents_url":"https://api.github.com/repos/jneen/rouge/contents/{+path}","compare_url":"https://api.github.com/repos/jneen/rouge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jneen/rouge/merges","archive_url":"https://api.github.com/repos/jneen/rouge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jneen/rouge/downloads","issues_url":"https://api.github.com/repos/jneen/rouge/issues{/number}","pulls_url":"https://api.github.com/repos/jneen/rouge/pulls{/number}","milestones_url":"https://api.github.com/repos/jneen/rouge/milestones{/number}","notifications_url":"https://api.github.com/repos/jneen/rouge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jneen/rouge/labels{/name}","releases_url":"https://api.github.com/repos/jneen/rouge/releases{/id}","deployments_url":"https://api.github.com/repos/jneen/rouge/deployments","created_at":"2012-08-31T09:54:51Z","updated_at":"2016-06-01T20:58:56Z","pushed_at":"2016-06-01T22:36:49Z","git_url":"git://github.com/jneen/rouge.git","ssh_url":"git@github.com:jneen/rouge.git","clone_url":"https://github.com/jneen/rouge.git","svn_url":"https://github.com/jneen/rouge","homepage":"","size":2255,"stargazers_count":1578,"watchers_count":1578,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":225,"mirror_url":null,"open_issues_count":177,"forks":225,"open_issues":177,"watchers":1578,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jneen/rouge/pulls/476"},"html":{"href":"https://github.com/jneen/rouge/pull/476"},"issue":{"href":"https://api.github.com/repos/jneen/rouge/issues/476"},"comments":{"href":"https://api.github.com/repos/jneen/rouge/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/jneen/rouge/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/jneen/rouge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jneen/rouge/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/jneen/rouge/statuses/cb16bc78573af5c34a9e630a42833ffbda194d6d"}}}}
{"actor":{"display_login":"jneen"}}