{"action":"created","issue":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/417","labels_url":"https://api.github.com/repos/atom/find-and-replace/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/atom/find-and-replace/issues/417/comments","events_url":"https://api.github.com/repos/atom/find-and-replace/issues/417/events","html_url":"https://github.com/atom/find-and-replace/issues/417","id":91514025,"number":417,"title":"feature request: allow basic javascript in find and replace function","user":{"login":"Billybobbonnet","id":8236816,"avatar_url":"https://avatars.githubusercontent.com/u/8236816?v=3","gravatar_id":"","url":"https://api.github.com/users/Billybobbonnet","html_url":"https://github.com/Billybobbonnet","followers_url":"https://api.github.com/users/Billybobbonnet/followers","following_url":"https://api.github.com/users/Billybobbonnet/following{/other_user}","gists_url":"https://api.github.com/users/Billybobbonnet/gists{/gist_id}","starred_url":"https://api.github.com/users/Billybobbonnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Billybobbonnet/subscriptions","organizations_url":"https://api.github.com/users/Billybobbonnet/orgs","repos_url":"https://api.github.com/users/Billybobbonnet/repos","events_url":"https://api.github.com/users/Billybobbonnet/events{/privacy}","received_events_url":"https://api.github.com/users/Billybobbonnet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/find-and-replace/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-27T21:02:21Z","updated_at":"2015-10-13T11:05:42Z","closed_at":null,"body":"Hello,\r\n\r\nMy issue is quite simple, I have a list of countries in  ISO 3166-1 alpha-2 format. here is how it looks:\r\n```json\r\n{\r\n  \"name\": \"Afghanistan\",\r\n  \"code\": \"AF\",\r\n  \"country-code\": \"004\"\r\n}, {\r\n  \"name\": \"Åland Islands\",\r\n  \"code\": \"AX\",\r\n  \"country-code\": \"248\"\r\n}, {\r\n  \"name\": \"Albania\",\r\n  \"code\": \"AL\",\r\n  \"country-code\": \"008\"\r\n},\r\n```\r\n\r\nI want to change all the codes to their lowercase equivalent. I can select them using a simple regex find string `\"[A-Z]{2}\"` \r\n\r\nI would love a way to apply a `matchedString.toLowerCase()` on every string matched by my regex. Or maybe something like `this.toLowerCase();`\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/atom/find-and-replace/issues/comments/147684162","html_url":"https://github.com/atom/find-and-replace/issues/417#issuecomment-147684162","issue_url":"https://api.github.com/repos/atom/find-and-replace/issues/417","id":147684162,"user":{"login":"davelnewton","id":702473,"avatar_url":"https://avatars.githubusercontent.com/u/702473?v=3","gravatar_id":"","url":"https://api.github.com/users/davelnewton","html_url":"https://github.com/davelnewton","followers_url":"https://api.github.com/users/davelnewton/followers","following_url":"https://api.github.com/users/davelnewton/following{/other_user}","gists_url":"https://api.github.com/users/davelnewton/gists{/gist_id}","starred_url":"https://api.github.com/users/davelnewton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davelnewton/subscriptions","organizations_url":"https://api.github.com/users/davelnewton/orgs","repos_url":"https://api.github.com/users/davelnewton/repos","events_url":"https://api.github.com/users/davelnewton/events{/privacy}","received_events_url":"https://api.github.com/users/davelnewton/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T11:05:42Z","updated_at":"2015-10-13T11:05:42Z","body":"That's only an alternative if you're not making use of regex replacement with case manipulation, though."}}