[ https://issues.apache.org/jira/browse/NIFI-5529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583782#comment-16583782 ]
Otto Fowler commented on NIFI-5529: ----------------------------------- [~Mike Boonstra] can you try this with [https://github.com/apache/nifi/pull/2951?|https://github.com/apache/nifi/pull/2951] It addresses another regression. It reverts the change/approach that most likely introduced this issue. > ReplaceText Now Requires Escapes in some cases > ---------------------------------------------- > > Key: NIFI-5529 > URL: https://issues.apache.org/jira/browse/NIFI-5529 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.7.1 > Reporter: Mike Boonstra > Priority: Minor > > In some cases in v1.7.1 you need to escape backslashes in property > ReplacementValue; like when "Replacement Strategy"="Regex Replace". Whereas > in v1.4.0 you didn't. However, when "Replacement Strategy"="Always Replace" > it works as it did in v1.4.0. > So for example if before you had this in v1.4.0: > * > {code:java} > "ReplacementValue"=${csvRow:replaceAll(',','\n')}{code} > In v1.7.1 you would need (note the extra backslash): > * > {code:java} > "ReplacementValue"=$\{csvRow:replaceAll(',','\\n')}{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)