You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/22 19:16:20 UTC
[jira] [Commented] (NIFI-2071) Support repeating capture groups in
ExtractText
[ https://issues.apache.org/jira/browse/NIFI-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514222#comment-15514222 ]
ASF GitHub Bot commented on NIFI-2071:
--------------------------------------
GitHub user pvillard31 opened a pull request:
https://github.com/apache/nifi/pull/1050
NIFI-2071 - Support repeating capture groups in ExtractText
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pvillard31/nifi NIFI2071
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1050.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1050
----
commit 1c30a97b404b10629317cf3ab928925eaad3e73e
Author: Pierre Villard <pi...@gmail.com>
Date: 2016-09-22T18:43:42Z
NIFI-2071 - Support repeating capture groups in ExtractText
----
> Support repeating capture groups in ExtractText
> -----------------------------------------------
>
> Key: NIFI-2071
> URL: https://issues.apache.org/jira/browse/NIFI-2071
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Joey Frazee
>
> ExtractText doesn't currently support repeating capture groups so any repeating patterns have to specified by hand and can only be repeated a fixed number of times.
> I think this is because it only uses find() and not findAll() in its pattern matching [1].
> 1. https://github.com/apache/nifi/blob/1bd2cf0d09a7111bcecffd0f473aa71c25a69845/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ExtractText.java#L324
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)