Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bo1led-owl/zerogrep

Yet another grep, built with Zig
https://github.com/bo1led-owl/zerogrep

cli grep-like zig

Last synced: 1 day ago
JSON representation

Yet another grep, built with Zig

Awesome Lists containing this project

README

        

# 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]`)