You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2022/06/27 15:19:00 UTC

[jira] [Resolved] (MINIFICPP-1870) Reversed attribute logic in the MiNiFi CPP version of ExtractText processor

     [ https://issues.apache.org/jira/browse/MINIFICPP-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gábor Gyimesi resolved MINIFICPP-1870.
--------------------------------------
    Fix Version/s: 0.13.0
       Resolution: Fixed

> 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
>            Assignee: Gábor Gyimesi
>            Priority: Major
>             Fix For: 0.13.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)