[ 
https://issues.apache.org/jira/browse/NIFI-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731233#comment-14731233
 ] 

Joseph Percivall commented on NIFI-447:
---------------------------------------

[~markap14]: Why shouldn't we have linewise options for append and prepend? The 
functionality would append or prepend on each line. The same way ".*" will 
match the whole line and replace each line with the replacement value.

> Add "Replacement Strategy" property to ReplaceText
> --------------------------------------------------
>
>                 Key: NIFI-447
>                 URL: https://issues.apache.org/jira/browse/NIFI-447
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>             Fix For: 0.4.0
>
>
> "Regular Expression" property should have displayName changed to "Search 
> Value"
> ReplaceText should allow for a "Replacement Strategy" with values:
> Prepend (Search Value is ignored; replacement value prepended to FlowFile)
> Append (Search Value is ignored; replacement value appended to FlowFIle)
> Regex Replace (current behavior, so this should be default)
> Linewise Regex Replace (like current behavior if Evaluation Mode is set to 
> Line-by-Line)
> Literal Replace (do not interpret the Replacement value
> The Line-by-Line property should be removed; this is breaking change!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to