{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/30457","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/30457/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/30457/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/30457/events","html_url":"https://github.com/JuliaLang/julia/pull/30457","id":392868187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMDM5NDY2","number":30457,"title":"Allow multiple pair arguments in replace on strings.","user":{"login":"MasonProtter","id":29157027,"node_id":"MDQ6VXNlcjI5MTU3MDI3","avatar_url":"https://avatars1.githubusercontent.com/u/29157027?v=4","gravatar_id":"","url":"https://api.github.com/users/MasonProtter","html_url":"https://github.com/MasonProtter","followers_url":"https://api.github.com/users/MasonProtter/followers","following_url":"https://api.github.com/users/MasonProtter/following{/other_user}","gists_url":"https://api.github.com/users/MasonProtter/gists{/gist_id}","starred_url":"https://api.github.com/users/MasonProtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasonProtter/subscriptions","organizations_url":"https://api.github.com/users/MasonProtter/orgs","repos_url":"https://api.github.com/users/MasonProtter/repos","events_url":"https://api.github.com/users/MasonProtter/events{/privacy}","received_events_url":"https://api.github.com/users/MasonProtter/received_events","type":"User","site_admin":false},"labels":[{"id":210700,"node_id":"MDU6TGFiZWwyMTA3MDA=","url":"https://api.github.com/repos/JuliaLang/julia/labels/decision","name":"decision","color":"F08000","default":false},{"id":269951426,"node_id":"MDU6TGFiZWwyNjk5NTE0MjY=","url":"https://api.github.com/repos/JuliaLang/julia/labels/strings","name":"strings","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-20T03:11:35Z","updated_at":"2018-12-21T15:59:54Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/30457","html_url":"https://github.com/JuliaLang/julia/pull/30457","diff_url":"https://github.com/JuliaLang/julia/pull/30457.diff","patch_url":"https://github.com/JuliaLang/julia/pull/30457.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/449426369","html_url":"https://github.com/JuliaLang/julia/pull/30457#issuecomment-449426369","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/30457","id":449426369,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQyNjM2OQ==","user":{"login":"MasonProtter","id":29157027,"node_id":"MDQ6VXNlcjI5MTU3MDI3","avatar_url":"https://avatars1.githubusercontent.com/u/29157027?v=4","gravatar_id":"","url":"https://api.github.com/users/MasonProtter","html_url":"https://github.com/MasonProtter","followers_url":"https://api.github.com/users/MasonProtter/followers","following_url":"https://api.github.com/users/MasonProtter/following{/other_user}","gists_url":"https://api.github.com/users/MasonProtter/gists{/gist_id}","starred_url":"https://api.github.com/users/MasonProtter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasonProtter/subscriptions","organizations_url":"https://api.github.com/users/MasonProtter/orgs","repos_url":"https://api.github.com/users/MasonProtter/repos","events_url":"https://api.github.com/users/MasonProtter/events{/privacy}","received_events_url":"https://api.github.com/users/MasonProtter/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T15:59:54Z","updated_at":"2018-12-21T15:59:54Z","author_association":"CONTRIBUTOR","body":"Fair. I think that if you look into code people write when trying to do multiple replacements, they end up getting forced to write things like\r\n```julia\r\nreplace(replace(replace(s, \"foo\"=>\"bar\"), \"baz\"=>\"Baz\"), \"...\"=> \".\")\r\n```\r\nand it just ends up making a giant code stink that really doesn't need to exist if `replace` would just follow the convention it uses on arrays.\r\n\r\nI think this is a pattern many want to use regardless of performance so what if there was just a note in the docstring warning that this is not ideally performant?"}}
{"actor":{"display_login":"MasonProtter"}}