how do I enabled PCRE2 when using cargo install ripgrep
?
#1810
-
What version of ripgrep are you using?Replace this text with the output of
How did you install ripgrep?If you installed ripgrep with snap and are getting strange file permission or
What operating system are you using ripgrep on?Replace this text with your operating system and version.
Describe your bug.Give a high level description of the bug. After I What are the steps to reproduce the behavior?If possible, please include both your search patterns and the corpus on which If the corpus is too big and you cannot decrease its size, file the bug anyway What is the actual behavior?Show the command you ran and the actual output. Include the If the output is large, put it in a gist: https://gist.github.com/ If the output is small, put it in code fences:
What is the expected behavior?What do you think ripgrep should have done? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As documented in the README, you need to pass |
Beta Was this translation helpful? Give feedback.
-
In other words, after cloning, instead of |
Beta Was this translation helpful? Give feedback.
As documented in the README, you need to pass
--features pcre2
to any commands that compile ripgrep from source in order to enable PCRE2.