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

Provide a way of running -F (literal) searches #8

Closed
simonw opened this issue Nov 28, 2020 · 1 comment
Closed

Provide a way of running -F (literal) searches #8

simonw opened this issue Nov 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Nov 28, 2020

Suggested here: https://news.ycombinator.com/item?id=25237299

https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md says:

(Note: We escape the ( here because ( has special significance inside regular expressions. You could also use rg -F 'fn write(' to achieve the same thing, where -F interprets your pattern as a literal string instead of a regular expression.)

@simonw simonw added the enhancement New feature or request label Nov 28, 2020
simonw added a commit that referenced this issue Nov 28, 2020
@simonw simonw closed this as completed Nov 28, 2020
simonw added a commit that referenced this issue Nov 28, 2020
@simonw
Copy link
Owner Author

simonw commented Nov 28, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant