package binary not built with pcre2 feature

Asked by clayzermk1

Hello,

I attempted to use the PCRE2 engine flag with rg from ripgrep 13.0.0-2ubuntu0.1 installed via apt on Ubuntu 22.04, but it gives an error saying that the binary is not built with PCRE2.

```
$ rg --engine=pcre2 foo
PCRE2 is not available in this build of ripgrep
$ rg -P foo
PCRE2 is not available in this build of ripgrep
$ rg --pcre2 foo
PCRE2 is not available in this build of ripgrep
```

Checking the source, [Cargo.toml](https://git.launchpad.net/ubuntu/+source/rust-ripgrep/tree/Cargo.toml?h=applied/13.0.0-2&id=8ab38739832a117828b05bd66b6bf1ebcf9db4ce#n95) shows that it is an available feature.

ripgrep's GitHub discussions page has a [discussion on enabling the feature at build time](https://github.com/BurntSushi/ripgrep/discussions/2190).

Could this package please be rebuilt with PCRE2 support?

Best,
clayzermk1

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu rust-ripgrep Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask clayzermk1 for more information if necessary.

To post a message you must log in.