{"action":"created","issue":{"url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/2","repository_url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser","labels_url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/2/comments","events_url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/2/events","html_url":"https://github.com/kfranqueiro/node-irssi-log-parser/pull/2","id":136149071,"number":2,"title":"Adding an optional space to several of the regexp's in order for them to work","user":{"login":"adarqui","id":1018013,"avatar_url":"https://avatars.githubusercontent.com/u/1018013?v=3","gravatar_id":"","url":"https://api.github.com/users/adarqui","html_url":"https://github.com/adarqui","followers_url":"https://api.github.com/users/adarqui/followers","following_url":"https://api.github.com/users/adarqui/following{/other_user}","gists_url":"https://api.github.com/users/adarqui/gists{/gist_id}","starred_url":"https://api.github.com/users/adarqui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adarqui/subscriptions","organizations_url":"https://api.github.com/users/adarqui/orgs","repos_url":"https://api.github.com/users/adarqui/repos","events_url":"https://api.github.com/users/adarqui/events{/privacy}","received_events_url":"https://api.github.com/users/adarqui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T18:36:47Z","updated_at":"2016-02-25T00:34:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/pulls/2","html_url":"https://github.com/kfranqueiro/node-irssi-log-parser/pull/2","diff_url":"https://github.com/kfranqueiro/node-irssi-log-parser/pull/2.diff","patch_url":"https://github.com/kfranqueiro/node-irssi-log-parser/pull/2.patch"},"body":"Hi kfranqueiro!\r\n\r\nWhen using your node-irssi-log-parser's bin/export-json, it was not outputting any chat/join/kick/part/quit messages etc.\r\n\r\nold regexp:\r\n^(\\d\\d:\\d\\d(?::\\d\\d)?)<(.)([^>]+)> (.*)$\r\nmatches:\r\n09:10<@adarq> yo jr\r\n\r\nnew regexp:\r\n^(\\d\\d:\\d\\d(?::\\d\\d)?) <(.)([^>]+)> (.*)$\r\nmatches:\r\n09:10 <@adarq> yo jr\r\n\r\nAll of the irssi log files I have seen use the latter format (with the space). I have added an optional space (\\s?) to the regexp in order for it to work with both formats of irssi log files.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/comments/188534588","html_url":"https://github.com/kfranqueiro/node-irssi-log-parser/pull/2#issuecomment-188534588","issue_url":"https://api.github.com/repos/kfranqueiro/node-irssi-log-parser/issues/2","id":188534588,"user":{"login":"kfranqueiro","id":398379,"avatar_url":"https://avatars.githubusercontent.com/u/398379?v=3","gravatar_id":"","url":"https://api.github.com/users/kfranqueiro","html_url":"https://github.com/kfranqueiro","followers_url":"https://api.github.com/users/kfranqueiro/followers","following_url":"https://api.github.com/users/kfranqueiro/following{/other_user}","gists_url":"https://api.github.com/users/kfranqueiro/gists{/gist_id}","starred_url":"https://api.github.com/users/kfranqueiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfranqueiro/subscriptions","organizations_url":"https://api.github.com/users/kfranqueiro/orgs","repos_url":"https://api.github.com/users/kfranqueiro/repos","events_url":"https://api.github.com/users/kfranqueiro/events{/privacy}","received_events_url":"https://api.github.com/users/kfranqueiro/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T00:34:08Z","updated_at":"2016-02-25T00:34:08Z","body":"Hm, that's interesting.  All of my logs definitely don't have spaces there.  I'm not against updating to support that though, if it's common.\r\n\r\nOut of curiosity, can you check what `log_timestamp` is set to in your `.irssi/config` file?"}}