[
https://issues.apache.org/jira/browse/NIFI-4094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16056987#comment-16056987
]
Mika Borner commented on NIFI-4094:
-----------------------------------
I've opened an issue at https://github.com/thekrakken/java-grok/issues/65
Waiting for the maintainer to comment.
> 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)