{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3117","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3117/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3117/comments","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3117/events","html_url":"https://github.com/D-Programming-Language/phobos/pull/3117","id":64892909,"number":3117,"title":"enhance std.string.chomp so it accepts ranges","user":{"login":"WalterBright","id":568298,"avatar_url":"https://avatars.githubusercontent.com/u/568298?v=3","gravatar_id":"","url":"https://api.github.com/users/WalterBright","html_url":"https://github.com/WalterBright","followers_url":"https://api.github.com/users/WalterBright/followers","following_url":"https://api.github.com/users/WalterBright/following{/other_user}","gists_url":"https://api.github.com/users/WalterBright/gists{/gist_id}","starred_url":"https://api.github.com/users/WalterBright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WalterBright/subscriptions","organizations_url":"https://api.github.com/users/WalterBright/orgs","repos_url":"https://api.github.com/users/WalterBright/repos","events_url":"https://api.github.com/users/WalterBright/events{/privacy}","received_events_url":"https://api.github.com/users/WalterBright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-28T03:23:03Z","updated_at":"2015-03-28T14:00:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3117","html_url":"https://github.com/D-Programming-Language/phobos/pull/3117","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3117.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3117.patch"},"body":"1. accept ranges as input\r\n2. `nelSep` is accepted as a line ending\r\n3. unittests to 100% coverage\r\n4. Params: and Returns: documentation\r\n\r\nhttp://dlang.org/phobos/std_string.html#.chomp\r\n"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/87232521","html_url":"https://github.com/D-Programming-Language/phobos/pull/3117#issuecomment-87232521","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3117","id":87232521,"user":{"login":"JakobOvrum","id":155856,"avatar_url":"https://avatars.githubusercontent.com/u/155856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakobOvrum","html_url":"https://github.com/JakobOvrum","followers_url":"https://api.github.com/users/JakobOvrum/followers","following_url":"https://api.github.com/users/JakobOvrum/following{/other_user}","gists_url":"https://api.github.com/users/JakobOvrum/gists{/gist_id}","starred_url":"https://api.github.com/users/JakobOvrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakobOvrum/subscriptions","organizations_url":"https://api.github.com/users/JakobOvrum/orgs","repos_url":"https://api.github.com/users/JakobOvrum/repos","events_url":"https://api.github.com/users/JakobOvrum/events{/privacy}","received_events_url":"https://api.github.com/users/JakobOvrum/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T14:00:54Z","updated_at":"2015-03-28T14:00:54Z","body":"> Should these enhancements be added in std.string? Seems like a more generic version of chomp should go in std.range or std.algorithm.\r\n\r\nThe generic version of chomp is std.algorithm.strip."}}