Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.332 ·

Grep applies its result limit and offset earlier when showing matching lines

When Grep returns matching lines, it now applies the result limit and starting offset earlier, with a shortcut when ripgrep ignores its config file

You'll notice Bug Fixes
JSON All of v2.1.332
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Grep ToolArea: what it touches
Bug FixesKind: in v2.1.332,
Bug FixesSection of the release
What

Grep is the built-in tool Claude uses to search inside files. In content mode, where it returns the matching lines themselves, it now applies two values earlier in its work:

  • the limit on how many results to return
  • the offset, meaning how many results to skip before it starts returning them

Before, the limit was worked out inside the loop that collects results.

There is also a shortcut for when ripgrep runs with --no-config. Ripgrep is the search program Grep runs, and --no-config tells it to ignore any personal ripgrep configuration file. In that case Grep uses the list of matched lines that ripgrep returns directly.

Why

This mainly affects searches that return a large number of matching lines, where cutting the results down sooner saves work.

See this entry in the whole of v2.1.332 →

Feedback