You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jeff Storck (Jira)" <ji...@apache.org> on 2020/04/10 18:28:00 UTC
[jira] [Created] (NIFI-7353) ReplaceText does not document that EL
values are literalized for Search Value
Jeff Storck created NIFI-7353:
---------------------------------
Summary: ReplaceText does not document that EL values are literalized for Search Value
Key: NIFI-7353
URL: https://issues.apache.org/jira/browse/NIFI-7353
Project: Apache NiFi
Issue Type: Improvement
Components: Extensions
Affects Versions: 1.11.4
Reporter: Jeff Storck
ReplaceText should document for the {{Search Value}} property that EL values will be literalized/quoted.
For example, if {{Search Value}} is set to {{$\{myregex}}}, and
{code:java}
myregex = ^.*$
{code}
the evaluated value for the {{Search Value}} property will be
{code:java}
\Q^.*$\E
{code}
That makesĀ {{Search Value}} effectively the literal string "^.*$", and it will not be used as a regular expression.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)