GitHub PullRequestEvent at 2014-01-08 15:15:05
Repository: legacy-svn-scala
Actor: retronym
Payload: {"action":"closed","number":100,"pull_request":{"url":"https://api.github.com/repos/scala/legacy-svn-scala/pulls/100","id":393917,"html_url":"https://github.com/scala/legacy-svn-scala/pull/100","diff_url":"https://github.com/scala/legacy-svn-scala/pull/100.diff","patch_url":"https://github.com/scala/legacy-svn-scala/pull/100.patch","issue_url":"https://github.com/scala/legacy-svn-scala/pull/100","number":100,"state":"closed","title":"SI-5045 implement a Regex that is not implicitly anchored in pattern matc","user":{"login":"LannyRipple","id":132310,"avatar_url":"https://gravatar.com/avatar/5bf2d61cdf81ebdbc48e1d9f03ab969d?d=https%3A%2F%2Fidenticons.github.com%2Ff1a0ba7913c0a772db5f40015c7b5d5f.png&r=x","gravatar_id":"5bf2d61cdf81ebdbc48e1d9f03ab969d","url":"https://api.github.com/users/LannyRipple","html_url":"https://github.com/LannyRipple","followers_url":"https://api.github.com/users/LannyRipple/followers","following_url":"https://api.github.com/users/LannyRipple/following{/other_user}","gists_url":"https://api.github.com/users/LannyRipple/gists{/gist_id}","starred_url":"https://api.github.com/users/LannyRipple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LannyRipple/subscriptions","organizations_url":"https://api.github.com/users/LannyRipple/orgs","repos_url":"https://api.github.com/users/LannyRipple/repos","events_url":"https://api.github.com/users/LannyRipple/events{/privacy}","received_events_url":"https://api.github.com/users/LannyRipple/received_events","type":"User","site_admin":false},"body":"SI-5045 implement a Regex that is not implicitly anchored in pattern matching\r\n\r\nImplementation follows advice received in the JIRA to retain current behavior by default.  Have added behavior\r\n\r\n```\r\n  isAnchored: Boolean\r\n  anchor(): Regex // return Regex that implicitly anchors in pattern match\r\n  unanchor(): Regex // return Regex that does not implicitly anchor in pattern match\r\n```\r\n\r\nMotivating usage:\r\n\r\n```scala\r\n  val Date = \"\"\"(\\d{4}-\\d\\d-\\d\\d)\"\"\".r.unanchor\r\n  val copyright = \"copyright 2011-09-29\" match {\r\n    case Date(when) => Right(when)\r\n    case _ => Left(\"No date matched.\")\r\n  }\r\n```","created_at":"2011-10-11T16:43:36Z","updated_at":"2014-01-08T15:15:05Z","closed_at":"2014-01-08T15:15:05Z","merged_at":null,"merge_commit_sha":"786bc6a8326b557a9b74423c959147a56bc547ab","assignee":null,"milestone":null,"commits_url":"https://github.com/scala/legacy-svn-scala/pull/100/commits","review_comments_url":"https://github.com/scala/legacy-svn-scala/pull/100/comments","review_comment_url":"/repos/scala/legacy-svn-scala/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scala/legacy-svn-scala/issues/100/comments","statuses_url":"https://api.github.com/repos/scala/legacy-svn-scala/statuses/fee19c3c483268c810f9ddabd690c9fa98757ffa","head":{"label":"LannyRipple:SI-5045","ref":"SI-5045","sha":"fee19c3c483268c810f9ddabd690c9fa98757ffa","user":{"login":"LannyRipple","id":132310,"avatar_url":"https://gravatar.com/avatar/5bf2d61cdf81ebdbc48e1d9f03ab969d?d=https%3A%2F%2Fidenticons.github.com%2Ff1a0ba7913c0a772db5f40015c7b5d5f.png&r=x","gravatar_id":"5bf2d61cdf81ebdbc48e1d9f03ab969d","url":"https://api.github.com/users/LannyRipple","html_url":"https://github.com/LannyRipple","followers_url":"https://api.github.com/users/LannyRipple/followers","following_url":"https://api.github.com/users/LannyRipple/following{/other_user}","gists_url":"https://api.github.com/users/LannyRipple/gists{/gist_id}","starred_url":"https://api.github.com/users/LannyRipple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LannyRipple/subscriptions","organizations_url":"https://api.github.com/users/LannyRipple/orgs","repos_url":"https://api.github.com/users/LannyRipple/repos","events_url":"https://api.github.com/users/LannyRipple/events{/privacy}","received_events_url":"https://api.github.com/users/LannyRipple/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"scala:master","ref":"master","sha":"e0a3671a4761de7ac44c51958ebf6a411a6eb5b1","user":{"login":"scala","id":57059,"avatar_url":"https://gravatar.com/avatar/034ea19230dbc7c67b487e6ba64127f0?d=https%3A%2F%2Fidenticons.github.com%2F6385cbcc8e5965837f385bffd5331109.png&r=x","gravatar_id":"034ea19230dbc7c67b487e6ba64127f0","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"repo":{"id":841941,"name":"legacy-svn-scala","full_name":"scala/legacy-svn-scala","owner":{"login":"scala","id":57059,"avatar_url":"https://gravatar.com/avatar/034ea19230dbc7c67b487e6ba64127f0?d=https%3A%2F%2Fidenticons.github.com%2F6385cbcc8e5965837f385bffd5331109.png&r=x","gravatar_id":"034ea19230dbc7c67b487e6ba64127f0","url":"https://api.github.com/users/scala","html_url":"https://github.com/scala","followers_url":"https://api.github.com/users/scala/followers","following_url":"https://api.github.com/users/scala/following{/other_user}","gists_url":"https://api.github.com/users/scala/gists{/gist_id}","starred_url":"https://api.github.com/users/scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala/subscriptions","organizations_url":"https://api.github.com/users/scala/orgs","repos_url":"https://api.github.com/users/scala/repos","events_url":"https://api.github.com/users/scala/events{/privacy}","received_events_url":"https://api.github.com/users/scala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala/legacy-svn-scala","description":"Scala, the Git Mirror.  Official repository is svn: http://lampsvn.epfl.ch/svn-repos/scala","fork":false,"url":"https://api.github.com/repos/scala/legacy-svn-scala","forks_url":"https://api.github.com/repos/scala/legacy-svn-scala/forks","keys_url":"https://api.github.com/repos/scala/legacy-svn-scala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala/legacy-svn-scala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala/legacy-svn-scala/teams","hooks_url":"https://api.github.com/repos/scala/legacy-svn-scala/hooks","issue_events_url":"https://api.github.com/repos/scala/legacy-svn-scala/issues/events{/number}","events_url":"https://api.github.com/repos/scala/legacy-svn-scala/events","assignees_url":"https://api.github.com/repos/scala/legacy-svn-scala/assignees{/user}","branches_url":"https://api.github.com/repos/scala/legacy-svn-scala/branches{/branch}","tags_url":"https://api.github.com/repos/scala/legacy-svn-scala/tags","blobs_url":"https://api.github.com/repos/scala/legacy-svn-scala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala/legacy-svn-scala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala/legacy-svn-scala/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala/legacy-svn-scala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala/legacy-svn-scala/statuses/{sha}","languages_url":"https://api.github.com/repos/scala/legacy-svn-scala/languages","stargazers_url":"https://api.github.com/repos/scala/legacy-svn-scala/stargazers","contributors_url":"https://api.github.com/repos/scala/legacy-svn-scala/contributors","subscribers_url":"https://api.github.com/repos/scala/legacy-svn-scala/subscribers","subscription_url":"https://api.github.com/repos/scala/legacy-svn-scala/subscription","commits_url":"https://api.github.com/repos/scala/legacy-svn-scala/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala/legacy-svn-scala/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala/legacy-svn-scala/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala/legacy-svn-scala/issues/comments/{number}","contents_url":"https://api.github.com/repos/scala/legacy-svn-scala/contents/{+path}","compare_url":"https://api.github.com/repos/scala/legacy-svn-scala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala/legacy-svn-scala/merges","archive_url":"https://api.github.com/repos/scala/legacy-svn-scala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala/legacy-svn-scala/downloads","issues_url":"https://api.github.com/repos/scala/legacy-svn-scala/issues{/number}","pulls_url":"https://api.github.com/repos/scala/legacy-svn-scala/pulls{/number}","milestones_url":"https://api.github.com/repos/scala/legacy-svn-scala/milestones{/number}","notifications_url":"https://api.github.com/repos/scala/legacy-svn-scala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala/legacy-svn-scala/labels{/name}","releases_url":"https://api.github.com/repos/scala/legacy-svn-scala/releases{/id}","created_at":"2010-08-16T20:02:29Z","updated_at":"2013-12-31T11:45:37Z","pushed_at":"2011-12-01T17:32:21Z","git_url":"git://github.com/scala/legacy-svn-scala.git","ssh_url":"git@github.com:scala/legacy-svn-scala.git","clone_url":"https://github.com/scala/legacy-svn-scala.git","svn_url":"https://github.com/scala/legacy-svn-scala","homepage":"http://www.scala-lang.org/","size":292252,"stargazers_count":419,"watchers_count":419,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":59,"mirror_url":null,"open_issues_count":0,"forks":59,"open_issues":0,"watchers":419,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala/legacy-svn-scala/pulls/100"},"html":{"href":"https://github.com/scala/legacy-svn-scala/pull/100"},"issue":{"href":"https://api.github.com/repos/scala/legacy-svn-scala/issues/100"},"comments":{"href":"https://api.github.com/repos/scala/legacy-svn-scala/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/scala/legacy-svn-scala/pulls/100/comments"},"statuses":{"href":"https://api.github.com/repos/scala/legacy-svn-scala/statuses/fee19c3c483268c810f9ddabd690c9fa98757ffa"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":2,"commits":1,"additions":163,"deletions":35,"changed_files":2}}