{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/chevrotain/issues/285","repository_url":"https://api.github.com/repos/SAP/chevrotain","labels_url":"https://api.github.com/repos/SAP/chevrotain/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/SAP/chevrotain/issues/285/comments","events_url":"https://api.github.com/repos/SAP/chevrotain/issues/285/events","html_url":"https://github.com/SAP/chevrotain/issues/285","id":180505093,"number":285,"title":"Lexer line numbers","user":{"login":"Zumbala","id":7052083,"avatar_url":"https://avatars.githubusercontent.com/u/7052083?v=3","gravatar_id":"","url":"https://api.github.com/users/Zumbala","html_url":"https://github.com/Zumbala","followers_url":"https://api.github.com/users/Zumbala/followers","following_url":"https://api.github.com/users/Zumbala/following{/other_user}","gists_url":"https://api.github.com/users/Zumbala/gists{/gist_id}","starred_url":"https://api.github.com/users/Zumbala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zumbala/subscriptions","organizations_url":"https://api.github.com/users/Zumbala/orgs","repos_url":"https://api.github.com/users/Zumbala/repos","events_url":"https://api.github.com/users/Zumbala/events{/privacy}","received_events_url":"https://api.github.com/users/Zumbala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-02T10:06:58Z","updated_at":"2016-10-02T16:48:29Z","closed_at":null,"body":"Line numbers are sometimes not correct depending on the format of the file/text.\r\n\r\nThis is due to the fact that \\r\\n or \\r or \\n are used as EOL.\r\n\r\nTo resolve the issue one must replace all \\r\\n or \\r if no \\n to \\n.\r\n\r\nIs it possible to define this behaviour."},"comment":{"url":"https://api.github.com/repos/SAP/chevrotain/issues/comments/250981214","html_url":"https://github.com/SAP/chevrotain/issues/285#issuecomment-250981214","issue_url":"https://api.github.com/repos/SAP/chevrotain/issues/285","id":250981214,"user":{"login":"Zumbala","id":7052083,"avatar_url":"https://avatars.githubusercontent.com/u/7052083?v=3","gravatar_id":"","url":"https://api.github.com/users/Zumbala","html_url":"https://github.com/Zumbala","followers_url":"https://api.github.com/users/Zumbala/followers","following_url":"https://api.github.com/users/Zumbala/following{/other_user}","gists_url":"https://api.github.com/users/Zumbala/gists{/gist_id}","starred_url":"https://api.github.com/users/Zumbala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zumbala/subscriptions","organizations_url":"https://api.github.com/users/Zumbala/orgs","repos_url":"https://api.github.com/users/Zumbala/repos","events_url":"https://api.github.com/users/Zumbala/events{/privacy}","received_events_url":"https://api.github.com/users/Zumbala/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T16:48:29Z","updated_at":"2016-10-02T16:48:29Z","body":"I only have this rule:\r\n\r\nTOKEN(\"WhiteSpace\", /\\s+/).GROUP = Lexer.SKIPPED\r\n\r\nwhere TOKEN is a helper function:\r\n\r\n  function TOKEN(name,value) {\r\n    TOKENS =  TOKENS || {};\r\n    return TOKENS[name] = exToken(name,value);\r\n  }"}}
{"actor":{"display_login":"Zumbala"}}