3 ms·
ripgrep regexp has lookaround? The linked docs still doesn't say that. https://docs.rs/regex/1.5.4/regex/#syntax https://docs.rs/regex/1.5.4/regex/#syntax > T
by chx 5y ago
ripgrep regexp has lookaround? The linked docs still doesn't say that.
https://docs.rs/regex/1.5.4/regex/#syntax https://docs.rs/regex/1.5.4/regex/#syntax
> This crate provides a library for parsing, compiling, and executing regular expressions. Its syntax is similar to Perl-style regular expressions, but lacks a few features like look around and backreferences.
Edit: I see. It can use pcre2 but it's a build time option which of course Ubuntu has off.
- burntsushi 5y ago> Edit: I see. It can use pcre2 but it's a build time option which of course Ubuntu has off. That's unfortunate. Perhaps a bug report to the packagers is in order? Archlinux enabled it: https://github.com/archlinux/svntogit-community/blob/0dc033f5d0a476671dc0971a02eb9baa51cabc73/trunk/PKGBUILD#L26 https://github.com/archlinux/svntogit-community/blob/0dc033f...
- chx 5y agohttps://bugs.launchpad.net/ubuntu/+source/rust-ripgrep/+bug/1950866 https://bugs.launchpad.net/ubuntu/+source/rust-ripgrep/+bug/...