{"action":"created","comment":{"url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/comments/43202053","id":43202053,"diff_hunk":"@@ -52,26 +58,42 @@ def initialize(input)\n     #  # => ['محمد']\n     #\n     # @example With `exclude` as an array of strings\n-    #  WordsCounted::Tokeniser.new(\"Goodbye Sami and hello Dani\").tokenise(exclude: [\"goodbye hello\"])\n+    #  WordsCounted::Tokeniser.new(\"Goodbye Sami and hello Dani\").tokenise(\n+    #    exclude: [\"goodbye hello\"]\n+    #  )\n     #  # => ['sami', 'and', dani']\n     #\n     # @example With `exclude` as an array of regular expressions\n-    #  WordsCounted::Tokeniser.new(\"Goodbye and hello Dani\").tokenise(exclude: [/goodbye/i, /and/i])\n+    #  WordsCounted::Tokeniser.new(\"Goodbye and hello Dani\").tokenise(\n+    #    exclude: [/goodbye/i, /and/i]\n+    #  )\n     #  # => ['hello', 'dani']\n     #\n     # @example With `exclude` as an array of lambdas\n     #  t = WordsCounted::Tokeniser.new(\"Special Agent 007\")\n-    #  t.tokenise(exclude: [->(t) { t.to_i.odd? }, ->(t) { t.length > 5}])\n+    #  t.tokenise(\n+    #    exclude: [\n+    #      ->(t) { t.to_i.odd? },\n+    #      ->(t) { t.length > 5}\n+    #    ]\n+    #  )\n     #  # => ['agent']\n     #\n     # @example With `exclude` as a mixed array\n     #  t = WordsCounted::Tokeniser.new(\"Hello! اسماءنا هي محمد، كارولينا، سامي، وداني\")\n-    #  t.tokenise(exclude: [:ascii_only?, /محمد/, ->(t) { t.length > 6}, \"و\"])\n-    #  # => [\"هي\", \"سامي\", \"ودان\"]\n-    #\n-    # @param [Regexp] pattern   The string to tokenise.\n-    # @param [Array<String, Regexp, Lambda, Symbol>, String, Regexp, Lambda, Symbol, nil] exclude     The filter to apply.\n-    # @return [Array] the array of filtered tokens.\n+    #  t.tokenise(\n+    #    exclude: [\n+    #      :ascii_only?,\n+    #      /محمد/,","path":"lib/words_counted/tokeniser.rb","position":88,"original_position":88,"commit_id":"52d065383fc46891af43a02484b22258c8758566","original_commit_id":"52d065383fc46891af43a02484b22258c8758566","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use only ascii symbols in comments.","created_at":"2015-10-27T23:25:54Z","updated_at":"2015-10-27T23:25:54Z","html_url":"https://github.com/abitdodgy/words_counted/pull/24#discussion_r43202053","pull_request_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/comments/43202053"},"html":{"href":"https://github.com/abitdodgy/words_counted/pull/24#discussion_r43202053"},"pull_request":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24","id":48946756,"html_url":"https://github.com/abitdodgy/words_counted/pull/24","diff_url":"https://github.com/abitdodgy/words_counted/pull/24.diff","patch_url":"https://github.com/abitdodgy/words_counted/pull/24.patch","issue_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/24","number":24,"state":"open","locked":false,"title":"Improvements to docs","user":{"login":"abitdodgy","id":545430,"avatar_url":"https://avatars.githubusercontent.com/u/545430?v=3","gravatar_id":"","url":"https://api.github.com/users/abitdodgy","html_url":"https://github.com/abitdodgy","followers_url":"https://api.github.com/users/abitdodgy/followers","following_url":"https://api.github.com/users/abitdodgy/following{/other_user}","gists_url":"https://api.github.com/users/abitdodgy/gists{/gist_id}","starred_url":"https://api.github.com/users/abitdodgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitdodgy/subscriptions","organizations_url":"https://api.github.com/users/abitdodgy/orgs","repos_url":"https://api.github.com/users/abitdodgy/repos","events_url":"https://api.github.com/users/abitdodgy/events{/privacy}","received_events_url":"https://api.github.com/users/abitdodgy/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-27T23:25:48Z","updated_at":"2015-10-27T23:25:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99ce21b74261ff04f8e3e365eca9c433ed908ea5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24/commits","review_comments_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24/comments","review_comment_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls/comments{/number}","comments_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/24/comments","statuses_url":"https://api.github.com/repos/abitdodgy/words_counted/statuses/52d065383fc46891af43a02484b22258c8758566","head":{"label":"abitdodgy:refac","ref":"refac","sha":"52d065383fc46891af43a02484b22258c8758566","user":{"login":"abitdodgy","id":545430,"avatar_url":"https://avatars.githubusercontent.com/u/545430?v=3","gravatar_id":"","url":"https://api.github.com/users/abitdodgy","html_url":"https://github.com/abitdodgy","followers_url":"https://api.github.com/users/abitdodgy/followers","following_url":"https://api.github.com/users/abitdodgy/following{/other_user}","gists_url":"https://api.github.com/users/abitdodgy/gists{/gist_id}","starred_url":"https://api.github.com/users/abitdodgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitdodgy/subscriptions","organizations_url":"https://api.github.com/users/abitdodgy/orgs","repos_url":"https://api.github.com/users/abitdodgy/repos","events_url":"https://api.github.com/users/abitdodgy/events{/privacy}","received_events_url":"https://api.github.com/users/abitdodgy/received_events","type":"User","site_admin":false},"repo":{"id":19299241,"name":"words_counted","full_name":"abitdodgy/words_counted","owner":{"login":"abitdodgy","id":545430,"avatar_url":"https://avatars.githubusercontent.com/u/545430?v=3","gravatar_id":"","url":"https://api.github.com/users/abitdodgy","html_url":"https://github.com/abitdodgy","followers_url":"https://api.github.com/users/abitdodgy/followers","following_url":"https://api.github.com/users/abitdodgy/following{/other_user}","gists_url":"https://api.github.com/users/abitdodgy/gists{/gist_id}","starred_url":"https://api.github.com/users/abitdodgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitdodgy/subscriptions","organizations_url":"https://api.github.com/users/abitdodgy/orgs","repos_url":"https://api.github.com/users/abitdodgy/repos","events_url":"https://api.github.com/users/abitdodgy/events{/privacy}","received_events_url":"https://api.github.com/users/abitdodgy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abitdodgy/words_counted","description":"A Ruby natural language processor.","fork":false,"url":"https://api.github.com/repos/abitdodgy/words_counted","forks_url":"https://api.github.com/repos/abitdodgy/words_counted/forks","keys_url":"https://api.github.com/repos/abitdodgy/words_counted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abitdodgy/words_counted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abitdodgy/words_counted/teams","hooks_url":"https://api.github.com/repos/abitdodgy/words_counted/hooks","issue_events_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/events{/number}","events_url":"https://api.github.com/repos/abitdodgy/words_counted/events","assignees_url":"https://api.github.com/repos/abitdodgy/words_counted/assignees{/user}","branches_url":"https://api.github.com/repos/abitdodgy/words_counted/branches{/branch}","tags_url":"https://api.github.com/repos/abitdodgy/words_counted/tags","blobs_url":"https://api.github.com/repos/abitdodgy/words_counted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abitdodgy/words_counted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abitdodgy/words_counted/git/refs{/sha}","trees_url":"https://api.github.com/repos/abitdodgy/words_counted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abitdodgy/words_counted/statuses/{sha}","languages_url":"https://api.github.com/repos/abitdodgy/words_counted/languages","stargazers_url":"https://api.github.com/repos/abitdodgy/words_counted/stargazers","contributors_url":"https://api.github.com/repos/abitdodgy/words_counted/contributors","subscribers_url":"https://api.github.com/repos/abitdodgy/words_counted/subscribers","subscription_url":"https://api.github.com/repos/abitdodgy/words_counted/subscription","commits_url":"https://api.github.com/repos/abitdodgy/words_counted/commits{/sha}","git_commits_url":"https://api.github.com/repos/abitdodgy/words_counted/git/commits{/sha}","comments_url":"https://api.github.com/repos/abitdodgy/words_counted/comments{/number}","issue_comment_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/comments{/number}","contents_url":"https://api.github.com/repos/abitdodgy/words_counted/contents/{+path}","compare_url":"https://api.github.com/repos/abitdodgy/words_counted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abitdodgy/words_counted/merges","archive_url":"https://api.github.com/repos/abitdodgy/words_counted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abitdodgy/words_counted/downloads","issues_url":"https://api.github.com/repos/abitdodgy/words_counted/issues{/number}","pulls_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls{/number}","milestones_url":"https://api.github.com/repos/abitdodgy/words_counted/milestones{/number}","notifications_url":"https://api.github.com/repos/abitdodgy/words_counted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abitdodgy/words_counted/labels{/name}","releases_url":"https://api.github.com/repos/abitdodgy/words_counted/releases{/id}","created_at":"2014-04-30T03:07:05Z","updated_at":"2015-10-27T20:40:44Z","pushed_at":"2015-10-27T23:25:48Z","git_url":"git://github.com/abitdodgy/words_counted.git","ssh_url":"git@github.com:abitdodgy/words_counted.git","clone_url":"https://github.com/abitdodgy/words_counted.git","svn_url":"https://github.com/abitdodgy/words_counted","homepage":"http://rubywordcount.com","size":562,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":42,"default_branch":"master"}},"base":{"label":"abitdodgy:master","ref":"master","sha":"16bca7f30afbf1395552014c2d6d213f9417e543","user":{"login":"abitdodgy","id":545430,"avatar_url":"https://avatars.githubusercontent.com/u/545430?v=3","gravatar_id":"","url":"https://api.github.com/users/abitdodgy","html_url":"https://github.com/abitdodgy","followers_url":"https://api.github.com/users/abitdodgy/followers","following_url":"https://api.github.com/users/abitdodgy/following{/other_user}","gists_url":"https://api.github.com/users/abitdodgy/gists{/gist_id}","starred_url":"https://api.github.com/users/abitdodgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitdodgy/subscriptions","organizations_url":"https://api.github.com/users/abitdodgy/orgs","repos_url":"https://api.github.com/users/abitdodgy/repos","events_url":"https://api.github.com/users/abitdodgy/events{/privacy}","received_events_url":"https://api.github.com/users/abitdodgy/received_events","type":"User","site_admin":false},"repo":{"id":19299241,"name":"words_counted","full_name":"abitdodgy/words_counted","owner":{"login":"abitdodgy","id":545430,"avatar_url":"https://avatars.githubusercontent.com/u/545430?v=3","gravatar_id":"","url":"https://api.github.com/users/abitdodgy","html_url":"https://github.com/abitdodgy","followers_url":"https://api.github.com/users/abitdodgy/followers","following_url":"https://api.github.com/users/abitdodgy/following{/other_user}","gists_url":"https://api.github.com/users/abitdodgy/gists{/gist_id}","starred_url":"https://api.github.com/users/abitdodgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitdodgy/subscriptions","organizations_url":"https://api.github.com/users/abitdodgy/orgs","repos_url":"https://api.github.com/users/abitdodgy/repos","events_url":"https://api.github.com/users/abitdodgy/events{/privacy}","received_events_url":"https://api.github.com/users/abitdodgy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abitdodgy/words_counted","description":"A Ruby natural language processor.","fork":false,"url":"https://api.github.com/repos/abitdodgy/words_counted","forks_url":"https://api.github.com/repos/abitdodgy/words_counted/forks","keys_url":"https://api.github.com/repos/abitdodgy/words_counted/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abitdodgy/words_counted/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abitdodgy/words_counted/teams","hooks_url":"https://api.github.com/repos/abitdodgy/words_counted/hooks","issue_events_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/events{/number}","events_url":"https://api.github.com/repos/abitdodgy/words_counted/events","assignees_url":"https://api.github.com/repos/abitdodgy/words_counted/assignees{/user}","branches_url":"https://api.github.com/repos/abitdodgy/words_counted/branches{/branch}","tags_url":"https://api.github.com/repos/abitdodgy/words_counted/tags","blobs_url":"https://api.github.com/repos/abitdodgy/words_counted/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abitdodgy/words_counted/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abitdodgy/words_counted/git/refs{/sha}","trees_url":"https://api.github.com/repos/abitdodgy/words_counted/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abitdodgy/words_counted/statuses/{sha}","languages_url":"https://api.github.com/repos/abitdodgy/words_counted/languages","stargazers_url":"https://api.github.com/repos/abitdodgy/words_counted/stargazers","contributors_url":"https://api.github.com/repos/abitdodgy/words_counted/contributors","subscribers_url":"https://api.github.com/repos/abitdodgy/words_counted/subscribers","subscription_url":"https://api.github.com/repos/abitdodgy/words_counted/subscription","commits_url":"https://api.github.com/repos/abitdodgy/words_counted/commits{/sha}","git_commits_url":"https://api.github.com/repos/abitdodgy/words_counted/git/commits{/sha}","comments_url":"https://api.github.com/repos/abitdodgy/words_counted/comments{/number}","issue_comment_url":"https://api.github.com/repos/abitdodgy/words_counted/issues/comments{/number}","contents_url":"https://api.github.com/repos/abitdodgy/words_counted/contents/{+path}","compare_url":"https://api.github.com/repos/abitdodgy/words_counted/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abitdodgy/words_counted/merges","archive_url":"https://api.github.com/repos/abitdodgy/words_counted/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abitdodgy/words_counted/downloads","issues_url":"https://api.github.com/repos/abitdodgy/words_counted/issues{/number}","pulls_url":"https://api.github.com/repos/abitdodgy/words_counted/pulls{/number}","milestones_url":"https://api.github.com/repos/abitdodgy/words_counted/milestones{/number}","notifications_url":"https://api.github.com/repos/abitdodgy/words_counted/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abitdodgy/words_counted/labels{/name}","releases_url":"https://api.github.com/repos/abitdodgy/words_counted/releases{/id}","created_at":"2014-04-30T03:07:05Z","updated_at":"2015-10-27T20:40:44Z","pushed_at":"2015-10-27T23:25:48Z","git_url":"git://github.com/abitdodgy/words_counted.git","ssh_url":"git@github.com:abitdodgy/words_counted.git","clone_url":"https://github.com/abitdodgy/words_counted.git","svn_url":"https://github.com/abitdodgy/words_counted","homepage":"http://rubywordcount.com","size":562,"stargazers_count":42,"watchers_count":42,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24"},"html":{"href":"https://github.com/abitdodgy/words_counted/pull/24"},"issue":{"href":"https://api.github.com/repos/abitdodgy/words_counted/issues/24"},"comments":{"href":"https://api.github.com/repos/abitdodgy/words_counted/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/abitdodgy/words_counted/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/abitdodgy/words_counted/statuses/52d065383fc46891af43a02484b22258c8758566"}}}}