News for hackers. Stuff that matters.
Re:Terminal escape sequences in Git commit email field by philsnow on Monday March 29, 2021 @01:06PM (#26624906)
grep can emit structured GrepResult records that include things like

  - the pattern that was searched for
    - the search options from the invocation (case, line folding, etc)
  - the text of the matched segment
  - the byte range of the matched segment within the file
  - the line number(s) of the matched segment within the file
  - the file name
  - contents of any (named) capture groups from the search pattern

There are no comments on this comment yet.