You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Justin M Cavinee (JIRA)" <ji...@apache.org> on 2016/10/26 17:16:58 UTC

[jira] [Commented] (NIFI-2952) ReplaceText: Search String Validation Error

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

Justin M Cavinee commented on NIFI-2952:
----------------------------------------

Links to code where the literal replace is performed:

https://github.com/apache/nifi/blob/c883f98cbf803e5d8982a2a811c3ca46c5c249ca/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java#L244-L244

https://github.com/apache/nifi/blob/c883f98cbf803e5d8982a2a811c3ca46c5c249ca/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java#L600-L600

> ReplaceText: Search String Validation Error
> -------------------------------------------
>
>                 Key: NIFI-2952
>                 URL: https://issues.apache.org/jira/browse/NIFI-2952
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Justin M Cavinee
>            Priority: Minor
>
> The ReplaceText Processor's SearchText Validator always uses a Regex Validator, even when the Literal Replace is chosen as the Replacement Strategy.
> The Replace Works properly, we're just unable to use a search string that fails regex validation.



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