csvkit icon indicating copy to clipboard operation
csvkit copied to clipboard

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

Open executionByFork opened this issue 1 year ago • 1 comments

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.

executionByFork avatar Jan 31 '25 18:01 executionByFork

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.

jpmckinney avatar Jan 31 '25 19:01 jpmckinney