{"action":"created","issue":{"url":"https://api.github.com/repos/zerocracy/farm/issues/720","repository_url":"https://api.github.com/repos/zerocracy/farm","labels_url":"https://api.github.com/repos/zerocracy/farm/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/zerocracy/farm/issues/720/comments","events_url":"https://api.github.com/repos/zerocracy/farm/issues/720/events","html_url":"https://github.com/zerocracy/farm/pull/720","id":302101975,"number":720,"title":"Removed useless regex check","user":{"login":"amihaiemil","id":6305156,"avatar_url":"https://avatars0.githubusercontent.com/u/6305156?v=4","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"labels":[{"id":817441668,"url":"https://api.github.com/repos/zerocracy/farm/labels/scope","name":"scope","color":"3a6622","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-04T17:01:40Z","updated_at":"2018-03-06T12:11:31Z","closed_at":"2018-03-06T12:10:17Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zerocracy/farm/pulls/720","html_url":"https://github.com/zerocracy/farm/pull/720","diff_url":"https://github.com/zerocracy/farm/pull/720.diff","patch_url":"https://github.com/zerocracy/farm/pull/720.patch"},"body":"PR for https://github.com/zerocracy/datum/issues/260\r\n\r\n``ReIfAddressed``'s purpose is to check if the Github comment starts with 0crat's handle (``@0crat``). However, instead of simply checking ``comment.trim().startsWith(self)``, it checks for ``contains`` and tries to match some regex with single line/multiline...? That regex has no purpose since it doesn't apply any change to the comment, one that maybe would benefit the next ``Response``. \r\n\r\n\r\nI removed the ``contains`` + regex matching and simply used ``startsWith``. The exception message already says \"You must always start your message with my name\" -- also ``ReQuestion`` (the encapsulated Response, to which the Comment is passed on) tries to parse the body as if it starts with the handle. "},"comment":{"url":"https://api.github.com/repos/zerocracy/farm/issues/comments/370761866","html_url":"https://github.com/zerocracy/farm/pull/720#issuecomment-370761866","issue_url":"https://api.github.com/repos/zerocracy/farm/issues/720","id":370761866,"user":{"login":"rultor","id":8086956,"avatar_url":"https://avatars1.githubusercontent.com/u/8086956?v=4","gravatar_id":"","url":"https://api.github.com/users/rultor","html_url":"https://github.com/rultor","followers_url":"https://api.github.com/users/rultor/followers","following_url":"https://api.github.com/users/rultor/following{/other_user}","gists_url":"https://api.github.com/users/rultor/gists{/gist_id}","starred_url":"https://api.github.com/users/rultor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rultor/subscriptions","organizations_url":"https://api.github.com/users/rultor/orgs","repos_url":"https://api.github.com/users/rultor/repos","events_url":"https://api.github.com/users/rultor/events{/privacy}","received_events_url":"https://api.github.com/users/rultor/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T12:11:31Z","updated_at":"2018-03-06T12:11:31Z","author_association":"CONTRIBUTOR","body":"> @rultor merge\n\n@yegor256 Done! FYI, the full log is [here](http://www.rultor.com/t/14055-370757411) (took me 19min)"}}
{"actor":{"display_login":"rultor"}}