{"action":"created","issue":{"url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/1","repository_url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync","labels_url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/1/comments","events_url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/1/events","html_url":"https://github.com/masonitedoors/wp-project-version-sync/pull/1","id":395340225,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxODE3Mzg0","number":1,"title":"Support carriage return in line endings","user":{"login":"idpaterson","id":507058,"node_id":"MDQ6VXNlcjUwNzA1OA==","avatar_url":"https://avatars0.githubusercontent.com/u/507058?v=4","gravatar_id":"","url":"https://api.github.com/users/idpaterson","html_url":"https://github.com/idpaterson","followers_url":"https://api.github.com/users/idpaterson/followers","following_url":"https://api.github.com/users/idpaterson/following{/other_user}","gists_url":"https://api.github.com/users/idpaterson/gists{/gist_id}","starred_url":"https://api.github.com/users/idpaterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idpaterson/subscriptions","organizations_url":"https://api.github.com/users/idpaterson/orgs","repos_url":"https://api.github.com/users/idpaterson/repos","events_url":"https://api.github.com/users/idpaterson/events{/privacy}","received_events_url":"https://api.github.com/users/idpaterson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-02T18:42:11Z","updated_at":"2019-01-03T18:39:34Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/pulls/1","html_url":"https://github.com/masonitedoors/wp-project-version-sync/pull/1","diff_url":"https://github.com/masonitedoors/wp-project-version-sync/pull/1.diff","patch_url":"https://github.com/masonitedoors/wp-project-version-sync/pull/1.patch"},"body":"The original implementation used `\\n` exclusively as a line ending, this allows `\\r` as well. This is accomplished by making the regular expression more generic rather than just adding `\\r`. \r\n\r\nAlso included here, the regex matches non-greedily such that we get the first occurrence of `Version:` (in the comment) rather than the last occurrence (potentially elsewhere in the file). \r\n\r\nYou also might want to consider full support for semver which can include characters other than digits (e.g. 0.4.0-beta+001) probably by taking any non-whitespace as the version to replace."},"comment":{"url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/comments/451236679","html_url":"https://github.com/masonitedoors/wp-project-version-sync/pull/1#issuecomment-451236679","issue_url":"https://api.github.com/repos/masonitedoors/wp-project-version-sync/issues/1","id":451236679,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTIzNjY3OQ==","user":{"login":"tarikhamilton","id":6846378,"node_id":"MDQ6VXNlcjY4NDYzNzg=","avatar_url":"https://avatars3.githubusercontent.com/u/6846378?v=4","gravatar_id":"","url":"https://api.github.com/users/tarikhamilton","html_url":"https://github.com/tarikhamilton","followers_url":"https://api.github.com/users/tarikhamilton/followers","following_url":"https://api.github.com/users/tarikhamilton/following{/other_user}","gists_url":"https://api.github.com/users/tarikhamilton/gists{/gist_id}","starred_url":"https://api.github.com/users/tarikhamilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarikhamilton/subscriptions","organizations_url":"https://api.github.com/users/tarikhamilton/orgs","repos_url":"https://api.github.com/users/tarikhamilton/repos","events_url":"https://api.github.com/users/tarikhamilton/events{/privacy}","received_events_url":"https://api.github.com/users/tarikhamilton/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T18:39:34Z","updated_at":"2019-01-03T18:39:34Z","author_association":"MEMBER","body":"Nice! Thanks for improving this."}}
{"actor":{"display_login":"tarikhamilton"}}