{"action":"created","issue":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/707","labels_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/707/comments","events_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/707/events","html_url":"https://github.com/kazu-yamamoto/ghc-mod/pull/707","id":123953607,"number":707,"title":"[Shell-Parse] Use \\STX and \\ETX for quoting","user":{"login":"lierdakil","id":7275622,"avatar_url":"https://avatars.githubusercontent.com/u/7275622?v=3","gravatar_id":"","url":"https://api.github.com/users/lierdakil","html_url":"https://github.com/lierdakil","followers_url":"https://api.github.com/users/lierdakil/followers","following_url":"https://api.github.com/users/lierdakil/following{/other_user}","gists_url":"https://api.github.com/users/lierdakil/gists{/gist_id}","starred_url":"https://api.github.com/users/lierdakil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lierdakil/subscriptions","organizations_url":"https://api.github.com/users/lierdakil/orgs","repos_url":"https://api.github.com/users/lierdakil/repos","events_url":"https://api.github.com/users/lierdakil/events{/privacy}","received_events_url":"https://api.github.com/users/lierdakil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-26T23:46:23Z","updated_at":"2015-12-30T17:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/pulls/707","html_url":"https://github.com/kazu-yamamoto/ghc-mod/pull/707","diff_url":"https://github.com/kazu-yamamoto/ghc-mod/pull/707.diff","patch_url":"https://github.com/kazu-yamamoto/ghc-mod/pull/707.patch"},"body":"Also drops escaping characters."},"comment":{"url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/comments/168044194","html_url":"https://github.com/kazu-yamamoto/ghc-mod/pull/707#issuecomment-168044194","issue_url":"https://api.github.com/repos/kazu-yamamoto/ghc-mod/issues/707","id":168044194,"user":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T17:46:26Z","updated_at":"2015-12-30T17:46:26Z","body":"Ah right, sorry. Been playing around with real monadic parsers too much recently ;) But in any case doing the prefix match should also be easy.\r\n\r\nWhy just one character though? If we control the beginning of the string it doesn't really matter how much we put there. Worst case we can always just do something like `all (uncurry (==)) $ zip line \"escape \"`. I'd like this to not be too obscure, our wire protocol is already bad enough let's not make it even more weird.\r\n\r\nEither way I just want a way to swap this out for something else if it turns out to be a problem (*cough*cough* windos)."}}