[ 
https://issues.apache.org/jira/browse/NIFI-12305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783068#comment-17783068
 ] 

ASF subversion and git services commented on NIFI-12305:
--------------------------------------------------------

Commit 9b29fffbc6f6ad72074ee91d12144d9b87ce0a11 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9b29fffbc6 ]

NIFI-12305 Optimized Regular Expression patterns

- Updated SampleRecord range validation to split on comma and validate 
individual ranges
- Updated AccessPolicyEndpointMerger to restrict the set of characters matched

Signed-off-by: Matt Burgess <mattyb...@apache.org>

This closes #7967


> Optimize SampleRecord and Policy Merger Regular Expressions
> -----------------------------------------------------------
>
>                 Key: NIFI-12305
>                 URL: https://issues.apache.org/jira/browse/NIFI-12305
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework, Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 2.0.0, 1.24.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The SampleRecord Processor includes a regular expression pattern for 
> validating ranges that includes a repeated group match, and the Access Policy 
> Endpoint Merger includes a regular expression that matches a wider set of 
> characters than necessary. Both of these patterns could be optimized for 
> improved performance when handling larger strings.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to