{"action":"opened","issue":{"url":"https://api.github.com/repos/magnars/s.el/issues/120","repository_url":"https://api.github.com/repos/magnars/s.el","labels_url":"https://api.github.com/repos/magnars/s.el/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/magnars/s.el/issues/120/comments","events_url":"https://api.github.com/repos/magnars/s.el/issues/120/events","html_url":"https://github.com/magnars/s.el/issues/120","id":294587636,"number":120,"title":"s-count-matches doesn","user":{"login":"zck","id":166877,"avatar_url":"https://avatars3.githubusercontent.com/u/166877?v=4","gravatar_id":"","url":"https://api.github.com/users/zck","html_url":"https://github.com/zck","followers_url":"https://api.github.com/users/zck/followers","following_url":"https://api.github.com/users/zck/following{/other_user}","gists_url":"https://api.github.com/users/zck/gists{/gist_id}","starred_url":"https://api.github.com/users/zck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zck/subscriptions","organizations_url":"https://api.github.com/users/zck/orgs","repos_url":"https://api.github.com/users/zck/repos","events_url":"https://api.github.com/users/zck/events{/privacy}","received_events_url":"https://api.github.com/users/zck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-06T00:12:14Z","updated_at":"2018-02-06T00:12:14Z","closed_at":null,"author_association":"NONE","body":"```\r\nELISP> (s-count-matches \"HH\" \"HHH\")\r\n1 (#o1, #x1, ?\\C-a)```\r\n\r\nThis returns 1. I think it should be 2.\r\n\r\nThere's also a mismatch with `s-match-strings-all`\r\n\r\n```\r\nELISP> (s-match-strings-all \"HH\" \"HHH\")\r\n((\"HH\")\r\n (\"HH\"))\r\n```\r\n\r\nI know this is because `s-count-matches` delegates to the built-in `count-matches`, which doesn't overlap. But I would argue this is unintuitive behavior."}}
{"actor":{"display_login":"zck"}}