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)