{"action":"created","issue":{"url":"https://api.github.com/repos/etingof/apacheconfig/issues/12","repository_url":"https://api.github.com/repos/etingof/apacheconfig","labels_url":"https://api.github.com/repos/etingof/apacheconfig/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/etingof/apacheconfig/issues/12/comments","events_url":"https://api.github.com/repos/etingof/apacheconfig/issues/12/events","html_url":"https://github.com/etingof/apacheconfig/issues/12","id":343024728,"node_id":"MDU6SXNzdWUzNDMwMjQ3Mjg=","number":12,"title":"Some troubles with `ApacheIncludesLexer`","user":{"login":"HorlogeSkynet","id":5331869,"node_id":"MDQ6VXNlcjUzMzE4Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/5331869?v=4","gravatar_id":"","url":"https://api.github.com/users/HorlogeSkynet","html_url":"https://github.com/HorlogeSkynet","followers_url":"https://api.github.com/users/HorlogeSkynet/followers","following_url":"https://api.github.com/users/HorlogeSkynet/following{/other_user}","gists_url":"https://api.github.com/users/HorlogeSkynet/gists{/gist_id}","starred_url":"https://api.github.com/users/HorlogeSkynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorlogeSkynet/subscriptions","organizations_url":"https://api.github.com/users/HorlogeSkynet/orgs","repos_url":"https://api.github.com/users/HorlogeSkynet/repos","events_url":"https://api.github.com/users/HorlogeSkynet/events{/privacy}","received_events_url":"https://api.github.com/users/HorlogeSkynet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-20T08:51:27Z","updated_at":"2018-07-21T07:42:11Z","closed_at":null,"author_association":"NONE","body":"Hey Ilya, one more issue from me !\r\n\r\nIt looks like there is a problem with the `ApacheIncludesLexer` 'cause `Include` operations do not work when they looks like :\r\n\r\n```apache\r\nInclude conf.d/*.conf\r\n```\r\n\r\n... due to the `'I'`, and because the token is `'include[\\t ]+[^\\n\\r]+'` (and case-sensitive).\r\n\r\nIt has been a headache to debug, and I don't know how to solve this problem as you instanciate only one `lex` element for the whole parsing, and because of course the case-sensitivity could be important in some cases.\r\n\r\nIt works well if we change the line to :\r\n\r\n```apache\r\ninclude conf.d/*.conf\r\n```\r\n\r\nThanks again, have a good WE :ok_hand: \r\n\r\nEDIT : Well... We could add a new token doing the same job but with a `'I'`... Maybe there is a cleaner solution ?"},"comment":{"url":"https://api.github.com/repos/etingof/apacheconfig/issues/comments/406778201","html_url":"https://github.com/etingof/apacheconfig/issues/12#issuecomment-406778201","issue_url":"https://api.github.com/repos/etingof/apacheconfig/issues/12","id":406778201,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjc3ODIwMQ==","user":{"login":"etingof","id":17447359,"node_id":"MDQ6VXNlcjE3NDQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/17447359?v=4","gravatar_id":"","url":"https://api.github.com/users/etingof","html_url":"https://github.com/etingof","followers_url":"https://api.github.com/users/etingof/followers","following_url":"https://api.github.com/users/etingof/following{/other_user}","gists_url":"https://api.github.com/users/etingof/gists{/gist_id}","starred_url":"https://api.github.com/users/etingof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etingof/subscriptions","organizations_url":"https://api.github.com/users/etingof/orgs","repos_url":"https://api.github.com/users/etingof/repos","events_url":"https://api.github.com/users/etingof/events{/privacy}","received_events_url":"https://api.github.com/users/etingof/received_events","type":"User","site_admin":false},"created_at":"2018-07-21T07:42:11Z","updated_at":"2018-07-21T07:42:11Z","author_association":"OWNER","body":"Case-insensitive include statements should work since commit 50c6101607df7ffd2aa3cbfc2c691ebc69490f78"}}
{"actor":{"display_login":"etingof"}}