You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/08/16 06:51:00 UTC

[jira] [Updated] (GROOVY-7540) Add a method to StringGroovyMethods for replacing String pairs supplied as a Map

     [ https://issues.apache.org/jira/browse/GROOVY-7540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King updated GROOVY-7540:
------------------------------
    Issue Type: New Feature  (was: Improvement)

> 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: New Feature
>            Reporter: Jochen Kemnade
>            Assignee: Paul King
>            Priority: Minor
>             Fix For: 2.5.0-alpha-1
>
>
> 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
(v7.6.14#76016)