quasilyte / phpgrep

Syntax-aware grep for PHP code.
MIT License
236 stars 10 forks source link

Add a mode that prints the entire matched line (and maybe context lines?) #43

Closed quasilyte closed 3 years ago

quasilyte commented 4 years ago

Like any other grep, we can print the entire matched line with the potential context lines.

quasilyte commented 3 years ago

Or maybe we want a format string option where the user can describe how matches should be printed.