[ https://issues.apache.org/jira/browse/GROOVY-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726333#comment-14726333 ]
ASF GitHub Bot commented on GROOVY-7564: ---------------------------------------- GitHub user tkruse opened a pull request: https://github.com/apache/incubator-groovy/pull/110 GROOVY-7564: InvokerHelper: Fix invalid escaping of backslashes (replaceAll() line was noop, must be before other replacements) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tkruse/incubator-groovy groovy-5764 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-groovy/pull/110.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 #110 ---- commit e5feced2da8d193b5b96a4debdaf47683f79dd67 Author: Thibault Kruse <thibault.kr...@gmx.de> Date: 2015-09-01T22:04:17Z GROOVY-7564: InvokerHelper: Fix invalid escaping of backslashes (replaceAll() line was noop, must be before other replacements) ---- > InvokerHelper verbose printing wrongly escapes backslashes > ----------------------------------------------------------- > > Key: GROOVY-7564 > URL: https://issues.apache.org/jira/browse/GROOVY-7564 > Project: Groovy > Issue Type: Bug > Reporter: Thibault Kruse > Priority: Minor > > Tor reproduce: > {code} > groovy:000> InvokerHelper.format('a\\b', true, -1) > ===> 'a\b' > {code} > Should be > {code}'a\\b'{code} > See https://github.com/apache/incubator-groovy/pull/96 -- This message was sent by Atlassian JIRA (v6.3.4#6332)