{"action":"created","issue":{"url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/1","labels_url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/1/comments","events_url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/1/events","html_url":"https://github.com/mikesamuel/regexp-make-js/issues/1","id":98639324,"number":1,"title":"Interpolating RegExps with capturing groups changes group numbering of groups in the template.","user":{"login":"mikesamuel","id":368886,"avatar_url":"https://avatars.githubusercontent.com/u/368886?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesamuel","html_url":"https://github.com/mikesamuel","followers_url":"https://api.github.com/users/mikesamuel/followers","following_url":"https://api.github.com/users/mikesamuel/following{/other_user}","gists_url":"https://api.github.com/users/mikesamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesamuel/subscriptions","organizations_url":"https://api.github.com/users/mikesamuel/orgs","repos_url":"https://api.github.com/users/mikesamuel/repos","events_url":"https://api.github.com/users/mikesamuel/events{/privacy}","received_events_url":"https://api.github.com/users/mikesamuel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-02T21:40:35Z","updated_at":"2015-08-06T00:10:45Z","closed_at":"2015-08-06T00:10:45Z","body":"```RegExp.make`${ /(foo)/ }(bar)` ```\r\n\r\nhas 1 group in the template, (bar).\r\n\r\nIn the matched output, this group will be at an index 1 + numberOfGroupsIn(/(foo)/), in this case 2.\r\n\r\nFigure out what the semantics should be here."},"comment":{"url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/comments/128190981","html_url":"https://github.com/mikesamuel/regexp-make-js/issues/1#issuecomment-128190981","issue_url":"https://api.github.com/repos/mikesamuel/regexp-make-js/issues/1","id":128190981,"user":{"login":"mikesamuel","id":368886,"avatar_url":"https://avatars.githubusercontent.com/u/368886?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesamuel","html_url":"https://github.com/mikesamuel","followers_url":"https://api.github.com/users/mikesamuel/followers","following_url":"https://api.github.com/users/mikesamuel/following{/other_user}","gists_url":"https://api.github.com/users/mikesamuel/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesamuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesamuel/subscriptions","organizations_url":"https://api.github.com/users/mikesamuel/orgs","repos_url":"https://api.github.com/users/mikesamuel/repos","events_url":"https://api.github.com/users/mikesamuel/events{/privacy}","received_events_url":"https://api.github.com/users/mikesamuel/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T00:10:45Z","updated_at":"2015-08-06T00:10:45Z","body":"Fixed at https://github.com/mikesamuel/regexp-make-js/commit/2e3d0ae63b7707a3f83f209cd359955fa504c5ba"}}