{"action":"created","comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments/58547155","id":58547155,"diff_hunk":"@@ -61,7 +61,7 @@ end\n \n # Lists all apm config items\n function __fish_apm_config_items\n-    apm config list | grep -v '^;\\|^$' | tr \"\\ =\\ \" \"\\t\"\n+    apm config list | string replace -r \"\\s*=\\s*\" \"=\" | string match -r -v '^;|^$' | tr \"=\" \"\\t\"","path":"share/completions/apm.fish","position":5,"original_position":5,"commit_id":"d0a05195fedf34cfdf504636477d4ba49fccc07d","original_commit_id":"ee734dd9b84201f1322c3ac2b103dc6cdca508fe","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"body":"I used this example output. Let me get back to you I'm on my way to work.\r\n\r\n```\r\n; cli configs\r\nglobalconfig = \"C:\\\\Users\\\\chaines\\\\AppData\\\\Local\\\\atom\\\\app-0.177.0\\\\resources\\\\app\\\\apm\\\\.apmrc\"\r\nuser-agent = \"npm/2.3.0 node/v0.10.35 win32 ia32\"\r\nuserconfig = \"C:\\\\Users\\\\chaines\\\\.atom\\\\.apmrc\"\r\n\r\n; userconfig C:\\Users\\chaines\\.atom\\.apmrc\r\nhttps-proxy = \"<MASKED>\"\r\nproxy = \"<MASKED>\"\r\nstrict-ssl = false\r\n```\r\n\r\nLet me get back to you.","created_at":"2016-04-05T14:26:55Z","updated_at":"2016-04-05T14:26:55Z","html_url":"https://github.com/fish-shell/fish-shell/pull/2770#discussion_r58547155","pull_request_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770","_links":{"self":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments/58547155"},"html":{"href":"https://github.com/fish-shell/fish-shell/pull/2770#discussion_r58547155"},"pull_request":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770"}}},"pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770","id":60960522,"html_url":"https://github.com/fish-shell/fish-shell/pull/2770","diff_url":"https://github.com/fish-shell/fish-shell/pull/2770.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/2770.patch","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2770","number":2770,"state":"open","locked":false,"title":"implementing string match --invert","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"body":"`string match` should be capable of handling invert matches, like grep. #2769, #2450\r\n\r\nWith `-v` or `--invert` only lines that do not match the given pattern are printed.\r\n\r\n**` $ echo {cat,dog}(seq 1 11)`**\r\n```\r\ncat1 dog1 cat2 dog2 cat3 dog3 cat4 dog4 cat5 dog5 cat6\r\ndog6 cat7 dog7 cat8 dog8 cat9 dog9 cat10 dog10 cat11 dog11\r\n```\r\n\r\n**`$ string match -r -v 'cat|[02357]' {cat,dog}(seq 1 11)`**\r\n```\r\ndog1\r\ndog4\r\ndog6\r\ndog8\r\ndog9\r\ndog11\r\n```\r\n\r\n- [x] should work for globbing too.\r\n- [x] needs docs\r\n- [x] needs tests","created_at":"2016-02-27T18:53:10Z","updated_at":"2016-04-05T14:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad05a4ee822c2fa6e0515e5f0907377356353aac","assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/13","html_url":"https://github.com/fish-shell/fish-shell/milestones/next-2.x","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/13/labels","id":1624432,"number":13,"title":"next-2.x","description":"next release in the 2.x series (minor releases)\r\nin general, no backward incompatible changes should be accepted for this release","creator":{"login":"zanchey","id":520741,"avatar_url":"https://avatars.githubusercontent.com/u/520741?v=3","gravatar_id":"","url":"https://api.github.com/users/zanchey","html_url":"https://github.com/zanchey","followers_url":"https://api.github.com/users/zanchey/followers","following_url":"https://api.github.com/users/zanchey/following{/other_user}","gists_url":"https://api.github.com/users/zanchey/gists{/gist_id}","starred_url":"https://api.github.com/users/zanchey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanchey/subscriptions","organizations_url":"https://api.github.com/users/zanchey/orgs","repos_url":"https://api.github.com/users/zanchey/repos","events_url":"https://api.github.com/users/zanchey/events{/privacy}","received_events_url":"https://api.github.com/users/zanchey/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":1,"state":"open","created_at":"2016-03-06T13:32:50Z","updated_at":"2016-04-05T01:08:27Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770/commits","review_comments_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770/comments","review_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2770/comments","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/d0a05195fedf34cfdf504636477d4ba49fccc07d","head":{"label":"floam:invert-match","ref":"invert-match","sha":"d0a05195fedf34cfdf504636477d4ba49fccc07d","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"repo":{"id":51836351,"name":"fish-shell","full_name":"floam/fish-shell","owner":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floam/fish-shell","description":"The user-friendly command line shell.","fork":true,"url":"https://api.github.com/repos/floam/fish-shell","forks_url":"https://api.github.com/repos/floam/fish-shell/forks","keys_url":"https://api.github.com/repos/floam/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floam/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floam/fish-shell/teams","hooks_url":"https://api.github.com/repos/floam/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/floam/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/floam/fish-shell/events","assignees_url":"https://api.github.com/repos/floam/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/floam/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/floam/fish-shell/tags","blobs_url":"https://api.github.com/repos/floam/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floam/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floam/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/floam/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floam/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/floam/fish-shell/languages","stargazers_url":"https://api.github.com/repos/floam/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/floam/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/floam/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/floam/fish-shell/subscription","commits_url":"https://api.github.com/repos/floam/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/floam/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/floam/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/floam/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/floam/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/floam/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floam/fish-shell/merges","archive_url":"https://api.github.com/repos/floam/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floam/fish-shell/downloads","issues_url":"https://api.github.com/repos/floam/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/floam/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/floam/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/floam/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floam/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/floam/fish-shell/releases{/id}","deployments_url":"https://api.github.com/repos/floam/fish-shell/deployments","created_at":"2016-02-16T13:07:03Z","updated_at":"2016-03-12T04:21:08Z","pushed_at":"2016-04-05T14:23:56Z","git_url":"git://github.com/floam/fish-shell.git","ssh_url":"git@github.com:floam/fish-shell.git","clone_url":"https://github.com/floam/fish-shell.git","svn_url":"https://github.com/floam/fish-shell","homepage":"http://fishshell.com","size":29361,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fish-shell:master","ref":"master","sha":"3435e94994268caba16e67780bb71381332334b7","user":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"repo":{"id":4279682,"name":"fish-shell","full_name":"fish-shell/fish-shell","owner":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fish-shell/fish-shell","description":"The user-friendly command line shell.","fork":false,"url":"https://api.github.com/repos/fish-shell/fish-shell","forks_url":"https://api.github.com/repos/fish-shell/fish-shell/forks","keys_url":"https://api.github.com/repos/fish-shell/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fish-shell/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fish-shell/fish-shell/teams","hooks_url":"https://api.github.com/repos/fish-shell/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/fish-shell/fish-shell/events","assignees_url":"https://api.github.com/repos/fish-shell/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/fish-shell/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/fish-shell/fish-shell/tags","blobs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fish-shell/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/fish-shell/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/fish-shell/fish-shell/languages","stargazers_url":"https://api.github.com/repos/fish-shell/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/fish-shell/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/fish-shell/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/fish-shell/fish-shell/subscription","commits_url":"https://api.github.com/repos/fish-shell/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/fish-shell/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/fish-shell/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/fish-shell/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fish-shell/fish-shell/merges","archive_url":"https://api.github.com/repos/fish-shell/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fish-shell/fish-shell/downloads","issues_url":"https://api.github.com/repos/fish-shell/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/fish-shell/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/fish-shell/fish-shell/releases{/id}","deployments_url":"https://api.github.com/repos/fish-shell/fish-shell/deployments","created_at":"2012-05-10T03:00:55Z","updated_at":"2016-04-05T13:59:49Z","pushed_at":"2016-04-05T14:23:59Z","git_url":"git://github.com/fish-shell/fish-shell.git","ssh_url":"git@github.com:fish-shell/fish-shell.git","clone_url":"https://github.com/fish-shell/fish-shell.git","svn_url":"https://github.com/fish-shell/fish-shell","homepage":"http://fishshell.com","size":32086,"stargazers_count":5700,"watchers_count":5700,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":548,"mirror_url":null,"open_issues_count":570,"forks":548,"open_issues":570,"watchers":5700,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770"},"html":{"href":"https://github.com/fish-shell/fish-shell/pull/2770"},"issue":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2770"},"comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2770/comments"},"review_comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770/comments"},"review_comment":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2770/commits"},"statuses":{"href":"https://api.github.com/repos/fish-shell/fish-shell/statuses/d0a05195fedf34cfdf504636477d4ba49fccc07d"}}}}