Skip to content

bo1led-owl/zerogrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zerogrep

A grep with custom regex engine written in Zig

Usage

zg [flags]... PATTERN FILES...

or instead of FILES you can redirect zg's input and it will read from stdin. For more details see zg --help

Supported regex features

  • Grouping (foo(bar)+baz)
  • Repetition (* and +)
  • Optionals (?)
  • Anchors (^ and $)
  • Character groups ([a-zA-Z_], [^0-9a-zA-Z])