-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 --smart-case option #70
Labels
enhancement
An enhancement to the functionality of the software.
Comments
Yeah, I actually dislike this option very much, so I'm pretty opposed to using it by default. I'm fine with a new flag. |
BurntSushi
added
the
enhancement
An enhancement to the functionality of the software.
label
Sep 24, 2016
amsharma91
added a commit
to amsharma91/ripgrep
that referenced
this issue
Sep 27, 2016
It does what it says on the tin. Closes BurntSushi#70.
Could this be enabled by default via an environment variable? |
@kastiglione Please see #196. |
or
There's also |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
When smart case is enabled then ignorecase is implicitly enabled if the query doesn't contain uppercase characters .
This saves the user from thinking about case sensitivity in virtually all common cases. The option is offered by a number of other search tools like ag or vim's regex search. I'd like this as rg's default but aliasing it obviously would work just as well.
The text was updated successfully, but these errors were encountered: