wireservice / wireservice/csvkit
csvgrep: Add case-insensitive option (instead of using flag in regex string)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 689
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the csvgrep command's argument handling and help text, then compare its string-search behavior with the existing regex workaround described in the issue. The work is complete when csvgrep documents and accepts a case-insensitive option for string searches and the behavior is covered by the relevant command tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100