{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/615","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/615/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/615/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/pull/615","id":132516525,"number":615,"title":"Use basic regular expressions for sed portability","user":{"login":"cbandy","id":106560,"avatar_url":"https://avatars.githubusercontent.com/u/106560?v=3","gravatar_id":"","url":"https://api.github.com/users/cbandy","html_url":"https://github.com/cbandy","followers_url":"https://api.github.com/users/cbandy/followers","following_url":"https://api.github.com/users/cbandy/following{/other_user}","gists_url":"https://api.github.com/users/cbandy/gists{/gist_id}","starred_url":"https://api.github.com/users/cbandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbandy/subscriptions","organizations_url":"https://api.github.com/users/cbandy/orgs","repos_url":"https://api.github.com/users/cbandy/repos","events_url":"https://api.github.com/users/cbandy/events{/privacy}","received_events_url":"https://api.github.com/users/cbandy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars.githubusercontent.com/u/1090?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/10","html_url":"https://github.com/rabbitmq/rabbitmq-server/milestones/3.6.1","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/10/labels","id":1441765,"number":10,"title":"3.6.1","description":null,"creator":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":42,"state":"open","created_at":"2015-12-03T10:56:54Z","updated_at":"2016-02-19T09:35:19Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-02-09T19:53:28Z","updated_at":"2016-02-19T10:56:48Z","closed_at":"2016-02-16T06:42:16Z","pull_request":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/pulls/615","html_url":"https://github.com/rabbitmq/rabbitmq-server/pull/615","diff_url":"https://github.com/rabbitmq/rabbitmq-server/pull/615.diff","patch_url":"https://github.com/rabbitmq/rabbitmq-server/pull/615.patch"},"body":"More maintainable (imo) solution to a barrage of issues about `sed -E` vs `sed -r`. See #594.\r\n\r\nOn El Capitan and Ubuntu Trusty:\r\n```\r\n$ echo 'a//b/c///d/e//' | sed -e 's#/\\{2,\\}#/#g' -e 's#/$##'\r\na/b/c/d/e\r\n```"},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/comments/186170545","html_url":"https://github.com/rabbitmq/rabbitmq-server/pull/615#issuecomment-186170545","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/615","id":186170545,"user":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T10:56:48Z","updated_at":"2016-02-19T10:56:48Z","body":"Sorry, I didn't receive any notification from GitHub and missed this issue.\r\n\r\nI was using `sed -E` (`sed -r` was only for a user of really old GNU sed) because extended POSIX regular expressions are portable, unlike `sed` without `-E`. At least in my experience.\r\n\r\nI didn't test this yet, but I would not be surprised if it's broken on *BSD and some OS X releases."}}