[Pkg-rust-maintainers] Request to Enable PCRE2 for Ripgrep Compilation on Ubuntu 22.04

Hector Fabio Jimenez Saldarriaga h3ct0rjs at gmail.com
Mon Feb 26 23:10:13 GMT 2024


Dear Ubuntu Rust Maintainers,

I hope this message finds you well. I am writing to request the enabling of
PCRE2 for the compilation of Ripgrep on Ubuntu. Ripgrep is a powerful
search tool that relies on efficient regular expression matching. PCRE2
(Perl Compatible Regular Expressions version 2) offers significant
improvements and enhancements over its predecessor PCRE, which Ripgrep
currently utilizes. We are currently using ripgrep in a few important steps
to do lookups across many filesystems, after checking the docs in
https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md it seems like you
have opt out to disable this feature.

Enabling PCRE2 for Ripgrep compilation would bring several advantages:

Enhanced Performance: PCRE2 offers better performance optimizations,
particularly in certain scenarios involving complex regular expressions or
large datasets. This would result in faster search operations and improved
user experience.

Improved Compatibility: PCRE2 supports the latest advancements in regular
expression syntax and features, ensuring compatibility with modern regex
patterns and minimizing potential compatibility issues with other tools and
libraries.

Future-proofing: As PCRE2 is actively maintained and developed, enabling it
for Ripgrep compilation would ensure that Ripgrep remains up-to-date with
the latest regex capabilities and bug fixes, enhancing its longevity and
usability.

I understand that any changes to package configurations require thorough
consideration and testing to ensure stability and compatibility with the
Ubuntu ecosystem. However, I believe that enabling PCRE2 for Ripgrep
compilation would be a valuable enhancement that would benefit Ubuntu users
who rely on Ripgrep for their daily workflows.

If possible, I would appreciate it if you could consider this request and,
if feasible, incorporate the necessary changes to enable PCRE2 for Ripgrep
compilation in future Ubuntu releases.

Best Regards,
H

*********************
Héctor Fabio Jiménez Saldarriaga
https://devops.com.co
Universidad Tecnológica de Pereira
tel.(+57) 3175548245
"if you don't treat security like a religious fanatic,
you're going to be hurt like you can't  imagine "
*********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20240226/564713a3/attachment-0001.htm>


More information about the Pkg-rust-maintainers mailing list