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

csvgrep: Add case-insensitive option (instead of using flag in regex string) #1273

Open
executionByFork opened this issue Jan 31, 2025 · 1 comment

Comments

@executionByFork
Copy link

grep has a flag for case sensitivity, I was surprised to find a similar flag does not exist when looking through csvgrep help page.

Issue #248 was brought up a long time ago and closed. While it seems regex is a workaround, a case sensitivity toggle was never added and it would be nice to have one for string searches.

@jpmckinney jpmckinney changed the title Case Sensitivity csvgrep: Add case-insensitive option (instead of using flag in regex string) Jan 31, 2025
@jpmckinney
Copy link
Member

The case-insensitive search example is on the documentation page: https://csvkit.readthedocs.io/en/latest/scripts/csvgrep.html

That said an option would be easy to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants