Versions in this module Expand all Collapse all v0 v0.0.1 Dec 9, 2024 Changes in this version + type Grep struct + C bool + H bool + HTML bool + L bool + Limit int + Limited bool + Match bool + Matches int + N bool + PostContext int + PreContext int + Regexp *Regexp + Stderr io.Writer + Stdout io.Writer + V bool + func (g *Grep) AddFlags() + func (g *Grep) AddVFlag() + func (g *Grep) File(name string) + func (g *Grep) Reader(r io.Reader, name string) + type Regexp struct + Syntax *syntax.Regexp + func Compile(expr string) (*Regexp, error) + func (r *Regexp) Match(b []byte, beginText, endText bool) (end int) + func (r *Regexp) MatchString(s string, beginText, endText bool) (end int) + func (re *Regexp) String() string