{"action":"created","comment":{"url":"https://api.github.com/repos/jruby/jruby/pulls/comments/25644740","id":25644740,"diff_hunk":"@@ -128,6 +128,10 @@ def encoding\n     source.encoding\n   end\n \n+  def casefold?\n+    (options & IGNORECASE) > 0 ? true : false\n+  end\n+","path":"truffle/src/main/ruby/core/rubinius/common/regexp.rb","position":7,"original_position":7,"commit_id":"c4727d15e9dfa5a7a82d3b03989cc1772afdefd0","original_commit_id":"c4727d15e9dfa5a7a82d3b03989cc1772afdefd0","user":{"login":"bjfish","id":110023,"avatar_url":"https://avatars.githubusercontent.com/u/110023?v=3","gravatar_id":"","url":"https://api.github.com/users/bjfish","html_url":"https://github.com/bjfish","followers_url":"https://api.github.com/users/bjfish/followers","following_url":"https://api.github.com/users/bjfish/following{/other_user}","gists_url":"https://api.github.com/users/bjfish/gists{/gist_id}","starred_url":"https://api.github.com/users/bjfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjfish/subscriptions","organizations_url":"https://api.github.com/users/bjfish/orgs","repos_url":"https://api.github.com/users/bjfish/repos","events_url":"https://api.github.com/users/bjfish/events{/privacy}","received_events_url":"https://api.github.com/users/bjfish/received_events","type":"User","site_admin":false},"body":"That's right","created_at":"2015-03-02T22:22:18Z","updated_at":"2015-03-02T22:22:18Z","html_url":"https://github.com/jruby/jruby/pull/2640#discussion_r25644740","pull_request_url":"https://api.github.com/repos/jruby/jruby/pulls/2640","_links":{"self":{"href":"https://api.github.com/repos/jruby/jruby/pulls/comments/25644740"},"html":{"href":"https://github.com/jruby/jruby/pull/2640#discussion_r25644740"},"pull_request":{"href":"https://api.github.com/repos/jruby/jruby/pulls/2640"}}},"pull_request":{"url":"https://api.github.com/repos/jruby/jruby/pulls/2640","id":30326704,"html_url":"https://github.com/jruby/jruby/pull/2640","diff_url":"https://github.com/jruby/jruby/pull/2640.diff","patch_url":"https://github.com/jruby/jruby/pull/2640.patch","issue_url":"https://api.github.com/repos/jruby/jruby/issues/2640","number":2640,"state":"closed","locked":false,"title":"[Truffle] Regex #casefold? #=== for Symbol","user":{"login":"bjfish","id":110023,"avatar_url":"https://avatars.githubusercontent.com/u/110023?v=3","gravatar_id":"","url":"https://api.github.com/users/bjfish","html_url":"https://github.com/bjfish","followers_url":"https://api.github.com/users/bjfish/followers","following_url":"https://api.github.com/users/bjfish/following{/other_user}","gists_url":"https://api.github.com/users/bjfish/gists{/gist_id}","starred_url":"https://api.github.com/users/bjfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjfish/subscriptions","organizations_url":"https://api.github.com/users/bjfish/orgs","repos_url":"https://api.github.com/users/bjfish/repos","events_url":"https://api.github.com/users/bjfish/events{/privacy}","received_events_url":"https://api.github.com/users/bjfish/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-02T22:19:29Z","updated_at":"2015-03-02T22:22:18Z","closed_at":"2015-03-02T22:21:36Z","merged_at":"2015-03-02T22:21:36Z","merge_commit_sha":"23528884651bca169a1a900a2754408aad86386b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jruby/jruby/pulls/2640/commits","review_comments_url":"https://api.github.com/repos/jruby/jruby/pulls/2640/comments","review_comment_url":"https://api.github.com/repos/jruby/jruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/2640/comments","statuses_url":"https://api.github.com/repos/jruby/jruby/statuses/c4727d15e9dfa5a7a82d3b03989cc1772afdefd0","head":{"label":"bjfish:truffle_regex","ref":"truffle_regex","sha":"c4727d15e9dfa5a7a82d3b03989cc1772afdefd0","user":{"login":"bjfish","id":110023,"avatar_url":"https://avatars.githubusercontent.com/u/110023?v=3","gravatar_id":"","url":"https://api.github.com/users/bjfish","html_url":"https://github.com/bjfish","followers_url":"https://api.github.com/users/bjfish/followers","following_url":"https://api.github.com/users/bjfish/following{/other_user}","gists_url":"https://api.github.com/users/bjfish/gists{/gist_id}","starred_url":"https://api.github.com/users/bjfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjfish/subscriptions","organizations_url":"https://api.github.com/users/bjfish/orgs","repos_url":"https://api.github.com/users/bjfish/repos","events_url":"https://api.github.com/users/bjfish/events{/privacy}","received_events_url":"https://api.github.com/users/bjfish/received_events","type":"User","site_admin":false},"repo":{"id":31230576,"name":"jruby","full_name":"bjfish/jruby","owner":{"login":"bjfish","id":110023,"avatar_url":"https://avatars.githubusercontent.com/u/110023?v=3","gravatar_id":"","url":"https://api.github.com/users/bjfish","html_url":"https://github.com/bjfish","followers_url":"https://api.github.com/users/bjfish/followers","following_url":"https://api.github.com/users/bjfish/following{/other_user}","gists_url":"https://api.github.com/users/bjfish/gists{/gist_id}","starred_url":"https://api.github.com/users/bjfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjfish/subscriptions","organizations_url":"https://api.github.com/users/bjfish/orgs","repos_url":"https://api.github.com/users/bjfish/repos","events_url":"https://api.github.com/users/bjfish/events{/privacy}","received_events_url":"https://api.github.com/users/bjfish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjfish/jruby","description":"JRuby, an implementation of Ruby on the JVM","fork":true,"url":"https://api.github.com/repos/bjfish/jruby","forks_url":"https://api.github.com/repos/bjfish/jruby/forks","keys_url":"https://api.github.com/repos/bjfish/jruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjfish/jruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjfish/jruby/teams","hooks_url":"https://api.github.com/repos/bjfish/jruby/hooks","issue_events_url":"https://api.github.com/repos/bjfish/jruby/issues/events{/number}","events_url":"https://api.github.com/repos/bjfish/jruby/events","assignees_url":"https://api.github.com/repos/bjfish/jruby/assignees{/user}","branches_url":"https://api.github.com/repos/bjfish/jruby/branches{/branch}","tags_url":"https://api.github.com/repos/bjfish/jruby/tags","blobs_url":"https://api.github.com/repos/bjfish/jruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjfish/jruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjfish/jruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjfish/jruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjfish/jruby/statuses/{sha}","languages_url":"https://api.github.com/repos/bjfish/jruby/languages","stargazers_url":"https://api.github.com/repos/bjfish/jruby/stargazers","contributors_url":"https://api.github.com/repos/bjfish/jruby/contributors","subscribers_url":"https://api.github.com/repos/bjfish/jruby/subscribers","subscription_url":"https://api.github.com/repos/bjfish/jruby/subscription","commits_url":"https://api.github.com/repos/bjfish/jruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjfish/jruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjfish/jruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjfish/jruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjfish/jruby/contents/{+path}","compare_url":"https://api.github.com/repos/bjfish/jruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjfish/jruby/merges","archive_url":"https://api.github.com/repos/bjfish/jruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjfish/jruby/downloads","issues_url":"https://api.github.com/repos/bjfish/jruby/issues{/number}","pulls_url":"https://api.github.com/repos/bjfish/jruby/pulls{/number}","milestones_url":"https://api.github.com/repos/bjfish/jruby/milestones{/number}","notifications_url":"https://api.github.com/repos/bjfish/jruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjfish/jruby/labels{/name}","releases_url":"https://api.github.com/repos/bjfish/jruby/releases{/id}","created_at":"2015-02-23T21:23:47Z","updated_at":"2015-03-02T16:42:42Z","pushed_at":"2015-03-02T22:12:37Z","git_url":"git://github.com/bjfish/jruby.git","ssh_url":"git@github.com:bjfish/jruby.git","clone_url":"https://github.com/bjfish/jruby.git","svn_url":"https://github.com/bjfish/jruby","homepage":"http://www.jruby.org","size":160878,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jruby:master","ref":"master","sha":"fad37ea767ae010379d04febbb9bbdfbc33e61c7","user":{"login":"jruby","id":55687,"avatar_url":"https://avatars.githubusercontent.com/u/55687?v=3","gravatar_id":"","url":"https://api.github.com/users/jruby","html_url":"https://github.com/jruby","followers_url":"https://api.github.com/users/jruby/followers","following_url":"https://api.github.com/users/jruby/following{/other_user}","gists_url":"https://api.github.com/users/jruby/gists{/gist_id}","starred_url":"https://api.github.com/users/jruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jruby/subscriptions","organizations_url":"https://api.github.com/users/jruby/orgs","repos_url":"https://api.github.com/users/jruby/repos","events_url":"https://api.github.com/users/jruby/events{/privacy}","received_events_url":"https://api.github.com/users/jruby/received_events","type":"Organization","site_admin":false},"repo":{"id":168370,"name":"jruby","full_name":"jruby/jruby","owner":{"login":"jruby","id":55687,"avatar_url":"https://avatars.githubusercontent.com/u/55687?v=3","gravatar_id":"","url":"https://api.github.com/users/jruby","html_url":"https://github.com/jruby","followers_url":"https://api.github.com/users/jruby/followers","following_url":"https://api.github.com/users/jruby/following{/other_user}","gists_url":"https://api.github.com/users/jruby/gists{/gist_id}","starred_url":"https://api.github.com/users/jruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jruby/subscriptions","organizations_url":"https://api.github.com/users/jruby/orgs","repos_url":"https://api.github.com/users/jruby/repos","events_url":"https://api.github.com/users/jruby/events{/privacy}","received_events_url":"https://api.github.com/users/jruby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jruby/jruby","description":"JRuby, an implementation of Ruby on the JVM","fork":false,"url":"https://api.github.com/repos/jruby/jruby","forks_url":"https://api.github.com/repos/jruby/jruby/forks","keys_url":"https://api.github.com/repos/jruby/jruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jruby/jruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jruby/jruby/teams","hooks_url":"https://api.github.com/repos/jruby/jruby/hooks","issue_events_url":"https://api.github.com/repos/jruby/jruby/issues/events{/number}","events_url":"https://api.github.com/repos/jruby/jruby/events","assignees_url":"https://api.github.com/repos/jruby/jruby/assignees{/user}","branches_url":"https://api.github.com/repos/jruby/jruby/branches{/branch}","tags_url":"https://api.github.com/repos/jruby/jruby/tags","blobs_url":"https://api.github.com/repos/jruby/jruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jruby/jruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jruby/jruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/jruby/jruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jruby/jruby/statuses/{sha}","languages_url":"https://api.github.com/repos/jruby/jruby/languages","stargazers_url":"https://api.github.com/repos/jruby/jruby/stargazers","contributors_url":"https://api.github.com/repos/jruby/jruby/contributors","subscribers_url":"https://api.github.com/repos/jruby/jruby/subscribers","subscription_url":"https://api.github.com/repos/jruby/jruby/subscription","commits_url":"https://api.github.com/repos/jruby/jruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/jruby/jruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/jruby/jruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/jruby/jruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/jruby/jruby/contents/{+path}","compare_url":"https://api.github.com/repos/jruby/jruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jruby/jruby/merges","archive_url":"https://api.github.com/repos/jruby/jruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jruby/jruby/downloads","issues_url":"https://api.github.com/repos/jruby/jruby/issues{/number}","pulls_url":"https://api.github.com/repos/jruby/jruby/pulls{/number}","milestones_url":"https://api.github.com/repos/jruby/jruby/milestones{/number}","notifications_url":"https://api.github.com/repos/jruby/jruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jruby/jruby/labels{/name}","releases_url":"https://api.github.com/repos/jruby/jruby/releases{/id}","created_at":"2009-04-05T03:54:35Z","updated_at":"2015-03-02T22:21:38Z","pushed_at":"2015-03-02T22:21:38Z","git_url":"git://github.com/jruby/jruby.git","ssh_url":"git@github.com:jruby/jruby.git","clone_url":"https://github.com/jruby/jruby.git","svn_url":"https://github.com/jruby/jruby","homepage":"http://www.jruby.org","size":321764,"stargazers_count":2035,"watchers_count":2035,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":559,"mirror_url":null,"open_issues_count":731,"forks":559,"open_issues":731,"watchers":2035,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jruby/jruby/pulls/2640"},"html":{"href":"https://github.com/jruby/jruby/pull/2640"},"issue":{"href":"https://api.github.com/repos/jruby/jruby/issues/2640"},"comments":{"href":"https://api.github.com/repos/jruby/jruby/issues/2640/comments"},"review_comments":{"href":"https://api.github.com/repos/jruby/jruby/pulls/2640/comments"},"review_comment":{"href":"https://api.github.com/repos/jruby/jruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jruby/jruby/pulls/2640/commits"},"statuses":{"href":"https://api.github.com/repos/jruby/jruby/statuses/c4727d15e9dfa5a7a82d3b03989cc1772afdefd0"}}}}