nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Witt <joe.w...@gmail.com>
Subject Re: ExtractText Capturing Groups Limit (1-40)
Date Wed, 23 Sep 2015 19:00:40 GMT
Adam,

We really should just allow it to be configurable.  We tend to be
conservative on such cases but you should have control.  Interested in
filing a JIRA?

Thanks
Joe

On Wed, Sep 23, 2015 at 10:01 AM, Adam Williams
<aaronfwilliams@outlook.com> wrote:
> I've been playing with the ExtractText processor and added lots of capturing
> groups, for a single property i split into ~50 capturing groups, but the
> processor shows a warning that we can only have between 1 & 40 capturing
> groups.  Is it wrong to go over this?  Just parsing a wide CSV file with a
> regex, but I've thought of modifying the
> StandardValidators.createRegexValidator from 40 to 50 for now in the below
> class and rebuilding.
>
> https://github.com/apache/nifi/blob/f044ba5d45150a0d17990b4c1a304fbbdf35a010/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExtractText.java

Mime
View raw message