← Back to tools
View AGENTS.md for paragrep
paragrep
Grep regular expressions and print matching paragraphs
Description
paragrep searches for regular expressions in text files and prints out the paragraphs containing those expressions. A paragraph is defined as a block of text delimited by an empty or blank line, and this is fully customizable via command line parameters.
AI Summary
Search tool that matches regex patterns and outputs entire paragraphs containing matches
Capabilities
- + Search for regex patterns in text files
- + Output complete paragraphs containing matches
- + Customize paragraph delimiters
Use When
- → You want to see full paragraphs around matching text rather than just lines
- → You need context-aware text searching
Avoid When
- x You need line-level grep output