[ https://issues.apache.org/jira/browse/NIFI-5529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583827#comment-16583827 ]
Otto Fowler commented on NIFI-5529: ----------------------------------- I tested against that pull and it works as your original statement now. [^test_escapes.xml] > 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 > Attachments: test_escapes.xml > > > 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)