The Wayback Machine - https://web.archive.org/web/20190424152542/https://github.com/sharkdp/fd/issues/408
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Man page doesn't explain search patterns #408

Open
ntc2 opened this Issue Feb 12, 2019 · 2 comments

Comments

@ntc2
Copy link

commented Feb 12, 2019

The man page doesn't say what form search patterns should take. The README here on GitHub says they are regular expressions, but not what kind of REs (I guess they are not PCREs, because there's an issue for adding that).

Suggestion: document in man page that the pattern argument is a regular expression, and say what kind of regular expression ops are supported.

@sharkdp

This comment has been minimized.

Copy link
Owner

commented Feb 13, 2019

Thank you for the feedback. We should add that to the documentation (man page and maybe README) - yes.

I guess they are not PCREs, because there's an issue for adding that

You are right. fd uses the regular expressions specified by the regex crate (Rust library). Its syntax is documented here: https://docs.rs/regex/1.1.0/regex/#syntax

@sergeevabc

This comment has been minimized.

Copy link

commented Mar 16, 2019

FD lacks a basic description as well. And it’s important to have one if this app is used infrequently. Compare:

ripgrep 0.10.0
Andrew Gallant <jamslam@gmail.com>

ripgrep (rg) recursively searches your current directory for a regex pattern.
By default, ripgrep will respect your .gitignore and automatically skip hidden
files/directories and binary files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.