{"action":"opened","issue":{"url":"https://api.github.com/repos/bomsy/grunt-regex-replace/issues/10","labels_url":"https://api.github.com/repos/bomsy/grunt-regex-replace/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/bomsy/grunt-regex-replace/issues/10/comments","events_url":"https://api.github.com/repos/bomsy/grunt-regex-replace/issues/10/events","html_url":"https://github.com/bomsy/grunt-regex-replace/issues/10","id":103122730,"number":10,"title":"Improve documentation for the replace is a function use case","user":{"login":"dlmiles","id":293087,"avatar_url":"https://avatars.githubusercontent.com/u/293087?v=3","gravatar_id":"","url":"https://api.github.com/users/dlmiles","html_url":"https://github.com/dlmiles","followers_url":"https://api.github.com/users/dlmiles/followers","following_url":"https://api.github.com/users/dlmiles/following{/other_user}","gists_url":"https://api.github.com/users/dlmiles/gists{/gist_id}","starred_url":"https://api.github.com/users/dlmiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlmiles/subscriptions","organizations_url":"https://api.github.com/users/dlmiles/orgs","repos_url":"https://api.github.com/users/dlmiles/repos","events_url":"https://api.github.com/users/dlmiles/events{/privacy}","received_events_url":"https://api.github.com/users/dlmiles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T21:37:08Z","updated_at":"2015-08-25T21:37:08Z","closed_at":null,"body":"The argument to the replace function use case are:\r\n\r\nargument[0] is the full string matched\r\nargument[1] is the first parenthesized substring match\r\nargument[2] is the second parenthesized substring match\r\nargument[3] is the Nth parenthesized substring match ...\r\n\r\nsee https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions and the section \"Using parenthesized substring matches\"\r\n"}}