[ https://issues.apache.org/jira/browse/GROOVY-7540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661582#comment-14661582 ]
ASF GitHub Bot commented on GROOVY-7540: ---------------------------------------- GitHub user paulk-asert opened a pull request: https://github.com/apache/incubator-groovy/pull/80 GROOVY-7540: Add a method to StringGroovyMethods for replacing String… … pairs supplied as a Map You can merge this pull request into a Git repository by running: $ git pull https://github.com/paulk-asert/incubator-groovy groovy7540 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-groovy/pull/80.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #80 ---- commit 96db0005e8774bc45c4111ad057ece7d09e161c3 Author: Paul King <pa...@asert.com.au> Date: 2015-08-07T10:06:12Z GROOVY-7540: Add a method to StringGroovyMethods for replacing String pairs supplied as a Map ---- > Add a method to StringGroovyMethods for replacing String pairs supplied as a > Map > -------------------------------------------------------------------------------- > > Key: GROOVY-7540 > URL: https://issues.apache.org/jira/browse/GROOVY-7540 > Project: Groovy > Issue Type: Improvement > Reporter: Jochen Kemnade > Priority: Minor > > It should be possible to use a map with {{collectReplacements}}, like in > {code} > "f006ar".collectReplacements(["0":"o", "6":"b"]) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)