Using grep crate (as library) #2509
Unanswered
bq-wrongway
asked this question in
Q&A
Replies: 1 comment
-
Yeah the high level documentation for "ripgrep as a library" is basically non-existent. The problem here is that the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i am having an issue that i am not sure how to solve :
I use something like this to create a searcher , and i use iced.rs to provide gui for search,
Then from UI, i select some directory or file, put in a word, and perform search which i can either save or present, even piping works, i can search just FOO or i can search FOO|BAR and it will find both words, but i dont see way to tell Searchbuilder (or matcher) to search ONLY rust files for example , -trust wont work.
I am not sure how would i be able to search only certain files, also going to grep create and checking grep_regex, grep_searcher i did not find way to add some extension filtering.
with cli is trivial, but with library is bit unclear.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions