{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/535","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/535/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/535/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/535/events","html_url":"https://github.com/odeke-em/drive/issues/535","id":124009275,"number":535,"title":"Include/Exclude mechanism","user":{"login":"memeplex","id":2845433,"avatar_url":"https://avatars.githubusercontent.com/u/2845433?v=3","gravatar_id":"","url":"https://api.github.com/users/memeplex","html_url":"https://github.com/memeplex","followers_url":"https://api.github.com/users/memeplex/followers","following_url":"https://api.github.com/users/memeplex/following{/other_user}","gists_url":"https://api.github.com/users/memeplex/gists{/gist_id}","starred_url":"https://api.github.com/users/memeplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memeplex/subscriptions","organizations_url":"https://api.github.com/users/memeplex/orgs","repos_url":"https://api.github.com/users/memeplex/repos","events_url":"https://api.github.com/users/memeplex/events{/privacy}","received_events_url":"https://api.github.com/users/memeplex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-12-28T02:42:40Z","updated_at":"2015-12-28T05:16:23Z","closed_at":null,"body":"As go regexps don't support negative lookahead is difficult to exclude some set defined by a barely selective pattern (like `^\\.` in a home directory) and yet include some small subset of it (say some dotfiles I want to sync).  "},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/167486168","html_url":"https://github.com/odeke-em/drive/issues/535#issuecomment-167486168","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/535","id":167486168,"user":{"login":"memeplex","id":2845433,"avatar_url":"https://avatars.githubusercontent.com/u/2845433?v=3","gravatar_id":"","url":"https://api.github.com/users/memeplex","html_url":"https://github.com/memeplex","followers_url":"https://api.github.com/users/memeplex/followers","following_url":"https://api.github.com/users/memeplex/following{/other_user}","gists_url":"https://api.github.com/users/memeplex/gists{/gist_id}","starred_url":"https://api.github.com/users/memeplex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memeplex/subscriptions","organizations_url":"https://api.github.com/users/memeplex/orgs","repos_url":"https://api.github.com/users/memeplex/repos","events_url":"https://api.github.com/users/memeplex/events{/privacy}","received_events_url":"https://api.github.com/users/memeplex/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T05:16:23Z","updated_at":"2015-12-28T05:16:23Z","body":"Looks fine to me. I would avoid the word exclude here, I understand you're using it as a \"double negation\" in \"exclude from ignore\", but it usually means the same than just ignore. Also some escaping mechanism will be in order as the tag could be part of a valid regexp itself. A leading ! could be just fine, escaped with \\!."}}