payload: {"action":"created","issue":{"url":"https://api.github.com/repos/AdaCore/learn/issues/242","repository_url":"https://api.github.com/repos/AdaCore/learn","labels_url":"https://api.github.com/repos/AdaCore/learn/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/AdaCore/learn/issues/242/comments","events_url":"https://api.github.com/repos/AdaCore/learn/issues/242/events","html_url":"https://github.com/AdaCore/learn/issues/242","id":462859845,"node_id":"MDU6SXNzdWU0NjI4NTk4NDU=","number":242,"title":"Labs IO block formatting causes issues with numbers printed with 'Image","user":{"login":"Robert-Tice","id":23664558,"node_id":"MDQ6VXNlcjIzNjY0NTU4","avatar_url":"https://avatars0.githubusercontent.com/u/23664558?v=4","gravatar_id":"","url":"https://api.github.com/users/Robert-Tice","html_url":"https://github.com/Robert-Tice","followers_url":"https://api.github.com/users/Robert-Tice/followers","following_url":"https://api.github.com/users/Robert-Tice/following{/other_user}","gists_url":"https://api.github.com/users/Robert-Tice/gists{/gist_id}","starred_url":"https://api.github.com/users/Robert-Tice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robert-Tice/subscriptions","organizations_url":"https://api.github.com/users/Robert-Tice/orgs","repos_url":"https://api.github.com/users/Robert-Tice/repos","events_url":"https://api.github.com/users/Robert-Tice/events{/privacy}","received_events_url":"https://api.github.com/users/Robert-Tice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Robert-Tice","id":23664558,"node_id":"MDQ6VXNlcjIzNjY0NTU4","avatar_url":"https://avatars0.githubusercontent.com/u/23664558?v=4","gravatar_id":"","url":"https://api.github.com/users/Robert-Tice","html_url":"https://github.com/Robert-Tice","followers_url":"https://api.github.com/users/Robert-Tice/followers","following_url":"https://api.github.com/users/Robert-Tice/following{/other_user}","gists_url":"https://api.github.com/users/Robert-Tice/gists{/gist_id}","starred_url":"https://api.github.com/users/Robert-Tice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robert-Tice/subscriptions","organizations_url":"https://api.github.com/users/Robert-Tice/orgs","repos_url":"https://api.github.com/users/Robert-Tice/repos","events_url":"https://api.github.com/users/Robert-Tice/events{/privacy}","received_events_url":"https://api.github.com/users/Robert-Tice/received_events","type":"User","site_admin":false},"assignees":[{"login":"Robert-Tice","id":23664558,"node_id":"MDQ6VXNlcjIzNjY0NTU4","avatar_url":"https://avatars0.githubusercontent.com/u/23664558?v=4","gravatar_id":"","url":"https://api.github.com/users/Robert-Tice","html_url":"https://github.com/Robert-Tice","followers_url":"https://api.github.com/users/Robert-Tice/followers","following_url":"https://api.github.com/users/Robert-Tice/following{/other_user}","gists_url":"https://api.github.com/users/Robert-Tice/gists{/gist_id}","starred_url":"https://api.github.com/users/Robert-Tice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robert-Tice/subscriptions","organizations_url":"https://api.github.com/users/Robert-Tice/orgs","repos_url":"https://api.github.com/users/Robert-Tice/repos","events_url":"https://api.github.com/users/Robert-Tice/events{/privacy}","received_events_url":"https://api.github.com/users/Robert-Tice/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-07-01T18:52:57Z","updated_at":"2019-07-01T19:02:52Z","closed_at":null,"author_association":"MEMBER","body":"'Image places an extra space before positive numbers only. This is very confusing when trying to write Expected Outputs for labs. The lab IO block format was something like:\r\n\r\nin 0: 1 2 3 4\r\nout 0:  1  2  3  4\r\n\r\nIf the same code outputs negative numbers:\r\n\r\nin 0: -1 -2 -3 -4\r\nout 0: -1 -2 -3 -4\r\n\r\nNotice that there are not double spaces in this case. 'Image places the negative sign in the place where the space would be in a positive number.\r\n\r\nThis causes an issue with the validation regex which looked like this:\r\n\r\n(in|out) ?(\\d+): *(.*)\r\n\r\nThe issue is the space after the colon. This cannot exist because the capture group might not grab the required space outputted by 'Image in some cases. The regex will be changed to this:\r\n\r\n(in|out) ?(\\d+):(.*)\r\n\r\nThis means that lab IO blocks will no longer have a space between the colon and the start of the capture group. All lab IO blocks will need to be updated to comply."},"comment":{"url":"https://api.github.com/repos/AdaCore/learn/issues/comments/507385991","html_url":"https://github.com/AdaCore/learn/issues/242#issuecomment-507385991","issue_url":"https://api.github.com/repos/AdaCore/learn/issues/242","id":507385991,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNzM4NTk5MQ==","user":{"login":"Robert-Tice","id":23664558,"node_id":"MDQ6VXNlcjIzNjY0NTU4","avatar_url":"https://avatars0.githubusercontent.com/u/23664558?v=4","gravatar_id":"","url":"https://api.github.com/users/Robert-Tice","html_url":"https://github.com/Robert-Tice","followers_url":"https://api.github.com/users/Robert-Tice/followers","following_url":"https://api.github.com/users/Robert-Tice/following{/other_user}","gists_url":"https://api.github.com/users/Robert-Tice/gists{/gist_id}","starred_url":"https://api.github.com/users/Robert-Tice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robert-Tice/subscriptions","organizations_url":"https://api.github.com/users/Robert-Tice/orgs","repos_url":"https://api.github.com/users/Robert-Tice/repos","events_url":"https://api.github.com/users/Robert-Tice/events{/privacy}","received_events_url":"https://api.github.com/users/Robert-Tice/received_events","type":"User","site_admin":false},"created_at":"2019-07-01T19:02:52Z","updated_at":"2019-07-01T19:02:52Z","author_association":"MEMBER","body":"Proposed solution here: #243 "}}
other: {"actor":{"display_login":"Robert-Tice"}}