Skip to content

use pcre2 for regular expressions #2389

@arogge

Description

@arogge

Use case

As a user of Bareos that uses Regular Expressions in the FileSet, I would like optimal performance and the same behaviour on all platforms.

Proposal

For that the existing regex implementation (custom on Windows and libc-based everywhere else) should be replaced by pcre2. A quick test has shown that pcre2 is up to 50 times faster than our custom implementation on Windows.

Tracking Issues

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions