[
https://issues.apache.org/jira/browse/NIFI-12305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783066#comment-17783066
]
ASF subversion and git services commented on NIFI-12305:
--------------------------------------------------------
Commit f92e23f3e545a23131e89384b1ceaa832fa812c2 in nifi's branch
refs/heads/support/nifi-1.x from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f92e23f3e5 ]
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 <[email protected]>
> 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: 40m
> 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)