{"action":"created","issue":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/420","repository_url":"https://api.github.com/repos/abo-abo/swiper","labels_url":"https://api.github.com/repos/abo-abo/swiper/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/swiper/issues/420/comments","events_url":"https://api.github.com/repos/abo-abo/swiper/issues/420/events","html_url":"https://github.com/abo-abo/swiper/pull/420","id":138864856,"number":420,"title":"counsel-ag: Fix escaping problem","user":{"login":"justbur","id":2208382,"avatar_url":"https://avatars.githubusercontent.com/u/2208382?v=3","gravatar_id":"","url":"https://api.github.com/users/justbur","html_url":"https://github.com/justbur","followers_url":"https://api.github.com/users/justbur/followers","following_url":"https://api.github.com/users/justbur/following{/other_user}","gists_url":"https://api.github.com/users/justbur/gists{/gist_id}","starred_url":"https://api.github.com/users/justbur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbur/subscriptions","organizations_url":"https://api.github.com/users/justbur/orgs","repos_url":"https://api.github.com/users/justbur/repos","events_url":"https://api.github.com/users/justbur/events{/privacy}","received_events_url":"https://api.github.com/users/justbur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-07T02:03:45Z","updated_at":"2016-03-07T15:27:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/abo-abo/swiper/pulls/420","html_url":"https://github.com/abo-abo/swiper/pull/420","diff_url":"https://github.com/abo-abo/swiper/pull/420.diff","patch_url":"https://github.com/abo-abo/swiper/pull/420.patch"},"body":"Before this it is not possible to pass the string \"string1\\\\|string2\" to\r\nag, because inputing string1\\|string2 gets translated into\r\n\"string1\\\\\\\\|string2\" via %S.\r\n\r\nInstead I use %s and shell-quote-argument to take care of escaping for\r\nthe command line, which fixes the issue for me.\r\n\r\nPlease test.\r\n\r\nAlso see https://github.com/syl20bnr/spacemacs/issues/5378"},"comment":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/comments/193297976","html_url":"https://github.com/abo-abo/swiper/pull/420#issuecomment-193297976","issue_url":"https://api.github.com/repos/abo-abo/swiper/issues/420","id":193297976,"user":{"login":"justbur","id":2208382,"avatar_url":"https://avatars.githubusercontent.com/u/2208382?v=3","gravatar_id":"","url":"https://api.github.com/users/justbur","html_url":"https://github.com/justbur","followers_url":"https://api.github.com/users/justbur/followers","following_url":"https://api.github.com/users/justbur/following{/other_user}","gists_url":"https://api.github.com/users/justbur/gists{/gist_id}","starred_url":"https://api.github.com/users/justbur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbur/subscriptions","organizations_url":"https://api.github.com/users/justbur/orgs","repos_url":"https://api.github.com/users/justbur/repos","events_url":"https://api.github.com/users/justbur/events{/privacy}","received_events_url":"https://api.github.com/users/justbur/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T15:27:09Z","updated_at":"2016-03-07T15:27:09Z","body":"I'm not that good with emacs regex, so it would be better if you did it I think. \r\n\r\nOne other feature I want at some point is the ability to pass command line args through the search pattern. For example, I'd like to be able to add `-Gel$` to narrow the search to elisp files. "}}