Andre Araujo created MINIFICPP-1870:
---------------------------------------

             Summary: Reversed attribute logic in the MiNiFi CPP version of 
ExtractText processor
                 Key: MINIFICPP-1870
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1870
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Andre Araujo


The MiNiFi CPP version of ExtractText has an attribute called "Include Capture 
Group 0". Internally thisĀ 
[property|https://github.com/apache/nifi-minifi-cpp/blob/c438d9fe6eb0d3f34e34ede2501f9399dfafb77f/extensions/standard-processors/processors/ExtractText.cpp#L60-L64]
 is named "IgnoreCaptureGroupZero" (note "Ignore" instead of "Include") and the 
value is used to determine whether the capture group 0 is {_}ignored{_}, rather 
than {_}included{_}.

The actual logic is the reverse of what the user expects.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to