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

Mark Payne commented on NIFI-447:
---------------------------------

I can't argue that we shouldn't. Though if we are going to allow it for each 
option.. perhaps that should be separated into a new property? Similar to the 
way that it is currently configured... Line-by-Line or Entire Text, and then 
Append, Prepend, Regex, Literal Replacement

> 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