You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mika Borner (JIRA)" <ji...@apache.org> on 2017/06/28 17:53:00 UTC
[jira] [Resolved] (NIFI-4094) GrokReader does not allow named
capture groups with underscores in name
[ https://issues.apache.org/jira/browse/NIFI-4094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mika Borner resolved NIFI-4094.
-------------------------------
Resolution: Won't Fix
> GrokReader does not allow named capture groups with underscores in name
> -----------------------------------------------------------------------
>
> Key: NIFI-4094
> URL: https://issues.apache.org/jira/browse/NIFI-4094
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.3.0
> Reporter: Mika Borner
> Priority: Minor
>
> When writing a regular expression with a named capture group, underscore can't be used.
> Typically, underscore is a valid character for capture groups. As avro also supports underscores, and GrokReader is used to write into avro schemas, this should be fixed.
> Example of non-working regex:
> (?<my_namedcapturegroup>.*)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)