{"action":"created","issue":{"url":"https://api.github.com/repos/gskinner/regexr/issues/275","repository_url":"https://api.github.com/repos/gskinner/regexr","labels_url":"https://api.github.com/repos/gskinner/regexr/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/gskinner/regexr/issues/275/comments","events_url":"https://api.github.com/repos/gskinner/regexr/issues/275/events","html_url":"https://github.com/gskinner/regexr/issues/275","id":342180040,"node_id":"MDU6SXNzdWUzNDIxODAwNDA=","number":275,"title":"Inconsistent result compared with JS in specific case","user":{"login":"mesqueeb","id":3253920,"node_id":"MDQ6VXNlcjMyNTM5MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/3253920?v=4","gravatar_id":"","url":"https://api.github.com/users/mesqueeb","html_url":"https://github.com/mesqueeb","followers_url":"https://api.github.com/users/mesqueeb/followers","following_url":"https://api.github.com/users/mesqueeb/following{/other_user}","gists_url":"https://api.github.com/users/mesqueeb/gists{/gist_id}","starred_url":"https://api.github.com/users/mesqueeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesqueeb/subscriptions","organizations_url":"https://api.github.com/users/mesqueeb/orgs","repos_url":"https://api.github.com/users/mesqueeb/repos","events_url":"https://api.github.com/users/mesqueeb/events{/privacy}","received_events_url":"https://api.github.com/users/mesqueeb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-18T05:16:42Z","updated_at":"2018-08-22T14:20:02Z","closed_at":null,"author_association":"NONE","body":"Case:\r\nregex = `/(.+)\\/([^\\/]+)\\.([^\\.]+$)/g`\r\ntext = `src/index.js`\r\n\r\nYour website gives `index` for group 2.\r\n\r\nJavaScript: `text.replace(regex, '$2')` gives `index.`"},"comment":{"url":"https://api.github.com/repos/gskinner/regexr/issues/comments/415048655","html_url":"https://github.com/gskinner/regexr/issues/275#issuecomment-415048655","issue_url":"https://api.github.com/repos/gskinner/regexr/issues/275","id":415048655,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTA0ODY1NQ==","user":{"login":"stefnotch","id":10220080,"node_id":"MDQ6VXNlcjEwMjIwMDgw","avatar_url":"https://avatars1.githubusercontent.com/u/10220080?v=4","gravatar_id":"","url":"https://api.github.com/users/stefnotch","html_url":"https://github.com/stefnotch","followers_url":"https://api.github.com/users/stefnotch/followers","following_url":"https://api.github.com/users/stefnotch/following{/other_user}","gists_url":"https://api.github.com/users/stefnotch/gists{/gist_id}","starred_url":"https://api.github.com/users/stefnotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefnotch/subscriptions","organizations_url":"https://api.github.com/users/stefnotch/orgs","repos_url":"https://api.github.com/users/stefnotch/repos","events_url":"https://api.github.com/users/stefnotch/events{/privacy}","received_events_url":"https://api.github.com/users/stefnotch/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T14:20:02Z","updated_at":"2018-08-22T14:20:02Z","author_association":"NONE","body":"Cannot reproduce (Tested in Firefox 61, Chrome 68, Edge 42, IE 11)\r\n```javascript\r\n> \"src/index.js\".replace(/(.+)\\/([^\\/]+)\\.([^\\.]+$)/g, '$2')\r\n\r\n\"index\"\r\n```"}}
{"actor":{"display_login":"stefnotch"}}