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

Add option to quote pattern #127

Closed
lukenels opened this issue Oct 17, 2017 · 3 comments
Closed

Add option to quote pattern #127

lukenels opened this issue Oct 17, 2017 · 3 comments

Comments

@lukenels
Copy link

To make it easy to to search for fixed pattern files, consider adding a flag such as -q or --quote to interpret the pattern as a literal string as opposed to a regex.

This way commands like fd --quote 'test.c' won't interpret the . as a regex wildcard.

@sharkdp
Copy link
Owner

sharkdp commented Oct 17, 2017

I think this is very similar to (or would be possible with) #97?

@sharkdp sharkdp closed this as completed Oct 19, 2017
@sharkdp
Copy link
Owner

sharkdp commented Feb 25, 2018

@lukenels This is now supported via --fixed-strings/-F.

@lukenels
Copy link
Author

Thanks @sharkdp !

@sharkdp sharkdp added the idea label Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants