wireservice / wireservice/csvkit

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

Open
#1,273 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

csvgrep feature
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.