{"action":"created","issue":{"url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/29","repository_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete","labels_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/29/comments","events_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/29/events","html_url":"https://github.com/pl-ca/ClangAutoComplete/issues/29","id":171471675,"number":29,"title":"Completion raises an error on re.sub()","user":{"login":"dzarda","id":3955056,"avatar_url":"https://avatars.githubusercontent.com/u/3955056?v=3","gravatar_id":"","url":"https://api.github.com/users/dzarda","html_url":"https://github.com/dzarda","followers_url":"https://api.github.com/users/dzarda/followers","following_url":"https://api.github.com/users/dzarda/following{/other_user}","gists_url":"https://api.github.com/users/dzarda/gists{/gist_id}","starred_url":"https://api.github.com/users/dzarda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzarda/subscriptions","organizations_url":"https://api.github.com/users/dzarda/orgs","repos_url":"https://api.github.com/users/dzarda/repos","events_url":"https://api.github.com/users/dzarda/events{/privacy}","received_events_url":"https://api.github.com/users/dzarda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-16T17:25:37Z","updated_at":"2016-08-23T19:33:34Z","closed_at":null,"body":"I came across this while setting up ClangAutoComplete with Sublime 3114. The following exception is thrown on each completion.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\Program Files\\Sublime Text 3\\sublime_plugin.py\", line 377, in on_query_completions\r\n    res = callback.on_query_completions(v, prefix, locations)\r\n  File \"C:\\Users\\Dzarda\\AppData\\Roaming\\Sublime Text 3\\Packages\\ClangAutoComplete\\ClangAutoComplete.py\", line 105, in on_query_completions\r\n    self.load_settings()\r\n  File \"C:\\Users\\Dzarda\\AppData\\Roaming\\Sublime Text 3\\Packages\\ClangAutoComplete\\ClangAutoComplete.py\", line 86, in load_settings\r\n    include_dir = re.sub(\"(\\$project_base_path)\", project_path, include_dir)\r\n  File \"./python3.3/re.py\", line 170, in sub\r\n  File \"./python3.3/re.py\", line 309, in _subx\r\n  File \"./python3.3/re.py\", line 296, in _compile_repl\r\n  File \"./python3.3/sre_parse.py\", line 801, in parse_template\r\nsre_constants.error: missing group name\r\n```\r\nOf course, when I set the `include_dir` to an empty string, the error disappears, though so does the functionality.\r\n\r\nI have a suspicion that this _might_ be a bug in Python, since I found a similar issue had been resolved regarding Python 2 [here](http://stackoverflow.com/questions/3675144/regex-error-nothing-to-repeat) "},"comment":{"url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/comments/241850181","html_url":"https://github.com/pl-ca/ClangAutoComplete/issues/29#issuecomment-241850181","issue_url":"https://api.github.com/repos/pl-ca/ClangAutoComplete/issues/29","id":241850181,"user":{"login":"dzarda","id":3955056,"avatar_url":"https://avatars.githubusercontent.com/u/3955056?v=3","gravatar_id":"","url":"https://api.github.com/users/dzarda","html_url":"https://github.com/dzarda","followers_url":"https://api.github.com/users/dzarda/followers","following_url":"https://api.github.com/users/dzarda/following{/other_user}","gists_url":"https://api.github.com/users/dzarda/gists{/gist_id}","starred_url":"https://api.github.com/users/dzarda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzarda/subscriptions","organizations_url":"https://api.github.com/users/dzarda/orgs","repos_url":"https://api.github.com/users/dzarda/repos","events_url":"https://api.github.com/users/dzarda/events{/privacy}","received_events_url":"https://api.github.com/users/dzarda/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T19:33:34Z","updated_at":"2016-08-23T19:33:34Z","body":"Windows 7 64bit"}}
{"actor":{"display_login":"dzarda"}}